set file permission on windows
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Wed Apr 9 03:17:21 EDT 2008
En Tue, 08 Apr 2008 14:03:06 -0300, Tim Arnold <tim.arnold at sas.com>
escribió:
> hi, I need to set file permissions on some directory trees in windows
> using
> Python.
The hard way: Use the function SetFileSecurity, the pywin32 package
exposes it. See the Microsoft documentation at
http://msdn2.microsoft.com/en-us/library/aa374860(VS.85).aspx
The easy way: the cacls command
--
Gabriel Genellina
More information about the Python-list
mailing list