New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os.remove can be used to remove directories on SunOS #48460
Comments
Done against a SunOS 5.10 equipped with Python 2.4.4.
|
I cannot reproduce the behavior that your trace suggests; instead, I get >>> os.remove("foo")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OSError: [Errno 1] Not owner: 'foo' Perhaps you were trying to do this as root? This is a known issue with Solaris: it allows to call unlink(2) for
As os.remove is the same as unlink, and as os.unlink deliberately calls Closing it as "won't fix, 3rd party". |
I didn't know about such unlink behavior and yes, I was root. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: