In article <[email protected]>, Christian Heimes <[email protected]> wrote: > >You have to set the write and execute permssion on *directory*, not on >the file. unlink (aka remove) requires write permission on the directory >in order to remove the file. > >It's like in the real world. You may be allowed to modify a document (w >permission on the file) but you may not be allowed to remove it from its >cabinet (w permission on the directory).
Note that this applies to Unix/Mac; on Windows, you can't delete read-only files. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. -- http://mail.python.org/mailman/listinfo/python-list
