os.remove() permission problem
Victor Subervi
victorsubervi at gmail.com
Mon Nov 30 14:21:29 EST 2009
Hi;
I get the following error when I try
os.remove(file)
*OSError*: [Errno 13] Permission denied: 'particulars.py'
args = (13, 'Permission denied')
errno = 13
filename = 'particulars.py'
strerror = 'Permission denied'
Here are the permissions:
-rwxr-xr-x 1 root root 455 Nov 28 05:58 particulars.py
When I go into the python interpreter and execute that statement, it
succeeds. What have I missed?
TIA,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091130/17f9d53b/attachment.html>
More information about the Python-list
mailing list