delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/22/14:36:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=CBHhy
dUlXnz0z7MAtySh441JstUBT7iW6CO9FdrfSYJ/nMZIZzm7r9Znp/HLYrEi5C9Ez
9Uz+i635y06gzCWgoLqfYjakCAhuyDv62tY5UotXkYRQkQs02cEm6MX5M6YXkAMa
uCCwlUGm9AynWQV3qr+ArpZcMts3vFhqzGFkxY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=XvhioOiZb3e
Fr59+olIRPNGqS54=; b=FnU26iwhDfmBK9fhEKGZAuV2ZSNedd3EB09cCy/78PP
WWBaB78a0Rl6m00I12c+hyra4c81+dWIrDE00MCpvjq1pXzp8mYHAD7x4woEd9yH
LctF2nUivvcC46qpAW4tLtH8ZSLHgbWAYCAOXCNX79HZph5M91wEADU2nppuDAU8
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-04.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3lX9SG5XM0zFBGW
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-0.7
References: <announce DOT 20150417103517 DOT GV3657 AT calimero DOT vinschen DOT de> <loom DOT 20150421T111734-742 AT post DOT gmane DOT org> <20150421121559 DOT GY3657 AT calimero DOT vinschen DOT de> <87a8y15rie DOT fsf AT Rainer DOT invalid> <20150422090440 DOT GB3657 AT calimero DOT vinschen DOT de>
Date: Wed, 22 Apr 2015 20:35:38 +0200
In-Reply-To: <20150422090440.GB3657@calimero.vinschen.de> (Corinna Vinschen's message of "Wed, 22 Apr 2015 11:04:40 +0200")
Message-ID: <877ft480zp.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0

Corinna Vinschen writes:
> Hmm.  Can you try the same with the latest developer snapshot I just
> created?  I found this problem which created undesired DENY ACEs,
> maybe this was the reason /knock on wood/.

I ran out of time, but I've managed to install the snapshot and did a
quick test before going home.  The ACL looks saner than before and I can
regain access via chmod, so that's good.  The basic problem however
remains and I'm really not sure if that's a bug in rsync or in Cygwin or
even a bug at all.

The file to be copied has, as stated before, access granted only via a
share group (actually three of them, but that's not a factor).  So
CREATOR OWNER, CREATOR group, the original owner of the file and myself
(owner of the newly created file) have no DACL entry on the original
file and the resulting file mode is "---rwx---+".  For "rsync -av" this
means that after the copy the mode is set to 0060 and that explicitly
locks out (via DENY) CREATOR OWNER CREATOR GROUP and myself.  That gives
the same POSIX modes, but not the same access rights of course.  For
"rsync -av --acls" the same happens and then some ACL are copied over
from the original file, which still doesn't get me access since the
DENY ACL is first in the list.

This might be a hole in the ACL mapping to POSIX file modes.  The way I
see it the reported file mode should actually be "rwxrwx---+" for the
original file since that's the effective access granted by Windows and
there are no POSIX flags on the original file (via NULL SID).  Just like
on POSIX (where it's done via mask) the user flags can only be cleared
in this situation by an explicit chmod (which then gets implemented via
DENY ACL I suppose).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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