Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'permissions': 0.04; 'modified': 0.05; 'python': 0.08; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'subject:create': 0.09; 'subject:windows': 0.09; 'wrote:': 0.15; "microsoft's": 0.16; 'permissions.': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'subject: \n ': 0.16; 'subject:permission': 0.16; 'url:timgolden': 0.16; 'cc:addr:python-list': 0.16; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'structure': 0.23; 'thus': 0.23; 'specify': 0.25; 'windows': 0.27; "i'm": 0.27; 'cc:addr:python.org': 0.30; 'tjg': 0.30; 'tree.': 0.30; 'hi,': 0.30; 'asking': 0.33; 'header:User-Agent:1': 0.34; 'file': 0.36; 'url:python': 0.36; 'received:192': 0.38; 'takes': 0.38; 'created': 0.38; 'subject:: ': 0.38; 'subject:with': 0.38; 'should': 0.39; 'under': 0.39; "i'd": 0.40; 'where': 0.40; 'would': 0.40; 'below': 0.62; 'from:addr:mail': 0.64; 'subject:write': 0.84; 'to:none': 0.93; 'subject:\t': 0.93 Date: Mon, 27 Jun 2011 08:39:34 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: windows 7 create directory with read write execute permission for everybody References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1309160384 news.xs4all.nl 4360 [::ffff:82.94.164.166]:60420 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8497 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