Thanks
help(os.chmod)
Help on built-in function chmod in module nt:
chmod(...)
chmod(path, mode)
Change the access permissions of a file.
or
os.system('chmod 775 /path/to/filename')
os.chmod = chmod(...)
... and just watch out that we usually supply the arguments to chmod
in octal, so you want
os.chmod(0775, "directory")
rather than
os.chmod(775, "directory")
(leading 0 implies octal)
--
Nick Craig-Wood <ni...@craig-wood.com> -- http://www.craig-wood.com/nick