>>>>> Terry Hancock <[EMAIL PROTECTED]> (TH) wrote:

>TH> It looks to me like Python just deleted a read-only file owned by
>TH> root in order to replace it with a new pyc file.  Can somebody
>TH> explain that to me?!  Isn't that supposed to be impossible?

If the directory is writable, you can delete a file and write a new one
with the same name. The permissions of the file itself are of no importance
in this case.
-- 
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to