On Nov 18, 2:36 pm, gaurav kashyap <[EMAIL PROTECTED]> wrote: > Hi all, > I have a text file in a directory on unix system. > Using a python program i want to change that file's permissions. > How could this be done. > > 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')
--
http://mail.python.org/mailman/listinfo/python-list
