windows 7 create directory with read write execute permission for everybody

Tim Golden mail at timgolden.me.uk
Mon Jun 27 03:39:34 EDT 2011


On 26/06/2011 21:57, Gelonida wrote:
> Hi,
>
> What do I have to do under python windows to create a directory with all
> permissions, such, that new files / directories created below will
> inherit the permissions.
>
>
> The reason I am asking is, that I'd like to create a directory structure
> where multiple users should be allowed to read / write / create files
> and directories.
>
>
> Alternatively it would be even better to specify exactly which users
> should be allowed to access the directory tree.
>
> I never used / modified Windows file permissions except once or twice
> via explorer. I'm thus a little shaky with Microsoft's file permissions.

Have a look at this to see if takes you anywhere:

   http://timgolden.me.uk/python/win32_how_do_i/add-security-to-a-file.html

TJG



More information about the Python-list mailing list