X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Subject: RE: cygwin permissions problem on a network drive Date: Fri, 21 Oct 2011 16:13:20 +0200 Message-ID: In-Reply-To: <20111021105510.GC2979@calimero.vinschen.de> References: <20111021085010 DOT GF13505 AT calimero DOT vinschen DOT de> <20111021105510 DOT GC2979 AT calimero DOT vinschen DOT de> From: "Lemke, Michael SZ/HZA-ZSW" To: X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1 X-SEF-Processed: 7_3_0_01170__2011_10_21_16_13_20 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id p9LEE8tK028337 On October 21, 2011 12:55 PM Corinna Vinschen wrote: > >On Oct 21 12:15, Lemke, Michael SZ/HZA-ZSW wrote: >> On Friday, October 21, 2011 10:50 AM >> Corinna Vinschen wrote: >> > >> >On Oct 20 18:58, gds wrote: >> >> On 10/18/2011 08:52 AM, Lemke, Michael SZ/HZA-ZSW wrote: >> >> >> >> > >> >> >I know this an old thread but I am in exactly the same situation as >> >> >the OP. Access with 1.7.7 and before worked fine, 1.7.9 has this >> >> >problem. The workaround with explicit noacl option works for me but >> >> >it is rather awkward as I have to work with a lot of servers. >> >> > >> >> So from the reply below I take it hasn't been fixed/worked >> around in a snapshot. But my experiments show something has > >Wrong. It has been fixed in the snapshot. 1.7.9 tries to open the file >with WRITE_DAC access which fails on some shares. The snapshots won't >do that anymore. Excellent. That explains my observations. > >> >I explained what the problem is already. The buzzword is WRITE_DAC. >> >Apparently you don't have permissions to change file permissions >> >on that share. Cacls should show the exact layout of the file and >> >directory DACLs. Does `chmod' work for you? It shouldn't either. >> >> In my case that it true, chmod fails. > >Good! That shows that my assumption is correct. > >> >> This is by design here. IT wants it that way. > >Then "noacl' is the only way for you. Unless I wait for the next release, right? >> > >> >Again, I don't know why this happens. I can not reproduce this problem >> >on my NTFS shares, other than by removing the WRITE_DAC permission from >> >the affected files and directories. If there's any way to fix or >> >workaround it in Cygwin, somebody who has that problem has to hunt it >> >down. >> > >> >> I am willing to try to hunt it down. What do you want me to check? > >Check with your admin and ask how they make sure that you can't set >permissions. Did they just create a certain set of inheritable >permissions or do they use some policy? That is what I'd like to know. I don't have a definitive answer yet but it looks like it's a policy. In Windows Explorer I have Full Access for the top level dir. That is inherited by every subdir and files. But the security entry is greyed out, also for subdirs. Michael