set file permission on windows

Tim Golden mail at timgolden.me.uk
Tue Apr 8 21:11:17 CEST 2008


Tim Arnold wrote:
> "Mike Driscoll" <kyosohma at gmail.com> wrote in message 
> news:7d75fc7b-a2b7-4ca2-b386-27da975043d0 at m44g2000hsc.googlegroups.com...
>> On Apr 8, 12:03 pm, "Tim Arnold" <tim.arn... at sas.com> wrote:
>>>    <snip>
> 
>> According to the following thread, you can use os.chmod on Windows:
>>
>> http://mail.python.org/pipermail/python-list/2003-June/210268.html
>>
>> You can also do it with the PyWin32 package. Tim Golden talks about
>> one way to do it here:
>>
>> http://timgolden.me.uk/python/win32_how_do_i/add-security-to-a-file.html
>>
>> Also see the following thread:
>>
>> http://mail.python.org/pipermail/python-win32/2004-July/002102.html
>>
>> or
>>
>> http://bytes.com/forum/thread560518.html
>>
>> Hope that helps!
>>
>> Mike
> 
> Hi Mike,
> It does help indeed, especially the last two links.

Hi, Tim. For the purposes of improving that page of mine linked
above, would you mind highlighting what made it less useful
than the last two links? On the surface, it seems to match your
use case pretty closely. Was there too much information? Too
little? Poor formatting? Just didn't feel right? I've a small set
of security-related pages in train and I'd rather produce something 
which people find useful.

Thanks

TJG



More information about the Python-list mailing list