Chmod to a group only

Kless jonas.esp at googlemail.com
Mon Dec 1 13:17:00 EST 2008


How to chmod a file to: o-rwx ? (to change only the others mode)

os.chmod(fname, )

I was reading this [1], but the truth is that anything as 'S_IRUSR'
doesn't help enought.


[1] http://www.python.org/doc/2.5.2/lib/os-file-dir.html



More information about the Python-list mailing list