locking files

Darren New dnew at san.rr.com
Wed Feb 21 13:18:34 EST 2001


Joseph Holland King wrote:
> flock properly or is there something else that might do the job? thank you.

On some UNIXes, there's a bit you set on the file (like, group sticky bit or
something) that means "No, really, lock the @*$& file already!"  You may
need to set this. Try

chmod g-x my_file
chmod g+l my_file

and see if the locking continues to fail. 

-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST).  Cryptokeys on demand.
                 Ignorance can be cured. Naivety cures itself.



More information about the Python-list mailing list