Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8499 > unrolled thread

Re: windows 7 create directory with read write execute permission for everybody

Started byGelonida <gelonida@gmail.com>
First post2011-06-27 11:32 +0200
Last post2011-06-27 14:45 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: windows 7 create directory with read write execute permission for everybody Gelonida <gelonida@gmail.com> - 2011-06-27 11:32 +0200
    Re: windows 7 create directory with read write execute permission   for everybody Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-27 14:45 +0200

#8499 — Re: windows 7 create directory with read write execute permission for everybody

FromGelonida <gelonida@gmail.com>
Date2011-06-27 11:32 +0200
SubjectRe: windows 7 create directory with read write execute permission for everybody
Message-ID<mailman.442.1309167182.1164.python-list@python.org>
Hi Tim,

On 6/27/2011 9:39 AM, Tim Golden wrote:
> 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.
. . .
>>
>> 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

That's exactly the kind of link I was looking for.

Thanks a lot.

For the current existing code I can just replace all open(fname, "w") 
calls with a custom wrapper and I should be fine.

One thing, which I would still like to know (though I don't need it for 
my current task) is what to do to to setup an ACE on a directory, such, 
that all entries below will inherit the directory's access settings.

I will look into this lateron.



[toc] | [next] | [standalone]


#8504 — Re: windows 7 create directory with read write execute permission for everybody

FromThorsten Kampe <thorsten@thorstenkampe.de>
Date2011-06-27 14:45 +0200
SubjectRe: windows 7 create directory with read write execute permission for everybody
Message-ID<MPG.287299db322c0b3c989827@news.individual.de>
In reply to#8499
* Gelonida (Mon, 27 Jun 2011 11:32:45 +0200)
> One thing, which I would still like to know (though I don't need it
> for my current task) is what to do to to setup an ACE on a directory,
> such, that all entries below will inherit the directory's access
> settings.

Such a thing does not exist.

Thorsten

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web