X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 29 Oct 2009 09:37:15 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: mkdir differences between 1.5.25 and 1.7
Message-ID: <20091029083715.GL28753@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <F3F5304BB3DD2445AF37A9E799FF6EE1091C3A81@CAVS1.sanmateo.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F3F5304BB3DD2445AF37A9E799FF6EE1091C3A81@CAVS1.sanmateo.corp.akamai.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Oct 28 11:11, Egerton, Jim wrote:
> Hi,
> 
> 	I'm seeing a few things with mkdir and acl's I don't quite understand - OS is Server 2008.
> [...]
> bash-3.2$ mkdir /tmp/test
> bash-3.2$ getfacl /tmp/test
> # file: /tmp/test
> # owner: Administrator
> # group: None
> user::rwx
> group::r-x
> mask:rwx
> other:r-x
> 
> It looks like the default acls are getting lost.   

That's fixed in CVS.

> I also ran into a problem with the mkdir "C" API which may or may not
> be related.   As far as I can tell, the permissions mask passed to
> mkdir with 1.7 is ignored.   The chmod API works fine.

Works fine for me.  Are you sure the directory you tested this on is
not mounted with the "noacl" option?


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

