os.remove() permission problem

Christian Heimes lists at cheimes.de
Mon Nov 30 17:06:32 EST 2009


Victor Subervi wrote:
> When I go into the python interpreter and execute that statement, it
> succeeds. What have I missed?

You are confusing the permissions of a Unix file system. In order to
create or a remove a file from a directory you need the x and w
permission to enter the directory (x) and to modify (w) the directory
entry.

Christian




More information about the Python-list mailing list