setting permissions to a file from linux.

Albert Hopkins marduk at nbk.hopto.org
Tue Nov 18 14:10:43 CET 2008


On Tue, 2008-11-18 at 04:36 -0800, gaurav kashyap 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

os.chmod = chmod(...)
    chmod(path, mode)
    
    Change the access permissions of a file.





More information about the Python-list mailing list