delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/25/14:57:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 25 Sep 2010 20:57:17 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare
Message-ID: <20100925185717.GA16274@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTi=F-QAnEhpPzZWn0xgseHg_MBnjM-1PaHqMaWjY AT mail DOT gmail DOT com> <20100921165156 DOT GD13235 AT calimero DOT vinschen DOT de> <AANLkTinJwrg330G0kEJRp5aL4Pdat6uyzqfsROFjANqL AT mail DOT gmail DOT com> <20100924092627 DOT GB6694 AT calimero DOT vinschen DOT de> <AANLkTikzf3WrnqHjoF28OPHRzWQzNHi-pfEtszbgjoSG AT mail DOT gmail DOT com> <20100924162826 DOT GA25401 AT calimero DOT vinschen DOT de> <AANLkTi=CY6wG6tY_cZ5JwTFyfN9fZodVnSq6ExWxd0bR AT mail DOT gmail DOT com> <20100924164115 DOT GA5793 AT calimero DOT vinschen DOT de> <AANLkTik98d3q9McBiBNm6Qb6n6hm-v=sqx4hNMSDLrF=@mail.gmail.com>
MIME-Version: 1.0
In-Reply-To: <AANLkTik98d3q9McBiBNm6Qb6n6hm-v=sqx4hNMSDLrF=@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Sep 24 15:21, Keith Christian wrote:
> Corinna, sorry, no change after loading the new cygwin1.dll.  Here is
> command output and a trace file as I sent earlier this morning.

The trace file shows the exact same result as before.  NtCreateFile
still returns STATUS_ACCESS_DENIED when trying to open the file for
writing the new ACL.  Note that Cygwin now requests the absolute minimum
of access rights required to chmod a file:

  READ_CONTROL
  WRITE_DAC
  FILE_WRITE_ATTRIBUTES

There's nothing I can do in Cygwin.  The settings on the server are
not sufficient for this functionality.

Nevertheless, are you really sure you tried the "noacl" mount option for
this share?  The "noacl" option results in trying to open the file a
second time, with just the READ_CONTROL and FILE_WRITE_ATTRIBUTES access
rights.  This should work in most cases.


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