delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/21/06:56:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 21 Oct 2011 12:55:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin permissions problem on a network drive
Message-ID: <20111021105510.GC2979@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CC0D9E8456BA41488A76AFE4E8F3A36902731CC0 AT de011305 DOT de DOT ina DOT com> <j7q925$5sd$1 AT dough DOT gmane DOT org> <20111021085010 DOT GF13505 AT calimero DOT vinschen DOT de> <CC0D9E8456BA41488A76AFE4E8F3A3690278A577 AT de011305 DOT de DOT ina DOT com>
MIME-Version: 1.0
In-Reply-To: <CC0D9E8456BA41488A76AFE4E8F3A3690278A577@de011305.de.ina.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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...
> >> >
> >> 
> >> >
> >> >...has this happened now?  In a snapshot?  I couldn't find any
> >> >further information.
> 
> 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.

> >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.

> >You could talk to your admin first to find out if that is by design and
> >maybe there could be something changed to allow changing permissions.
> 
> This is by design here.  IT wants it that way.

Then "noacl' is the only way for you.

> >Otherwise, just mount the share with the noacl flag.
> >
> >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.
The answer, however, will only help me to understand, it will not help
you to avoid the "noacl" setting.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019