delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/30/10:58:29

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=q7NH7h1yeFt68ZX9ZgglReRL9xAIGZ66N2372jBkZU5OAatbHeYdI
yDVRPLz5xRtPrlamMBMvHkEtSZNu372FmJAopCP+xnI+EjTe9g2KfRWsMYo2l9oX
MVy7kibOY7/G8eO7+Z4aj3O/hKEQvLhiNf4/rg/fV0qZmTMwEzCVrY=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=+Qo2GMrJi9X1Ww8FrLR/qTlzyxc=; b=K+CTSnaHUkzfvuq64enS7w+lhwui
7HvMD17BWrHRuUvp/0wXkJ5U0KNEpBwy1uMTM1vKF+mI3gf/RprteRuJHFfbDmnl
LNIGQJObXZ5DwSSI1rEg0gN6qHiUZpbBoUTiZ83aC5Vsb5kvd1AyYOkEK5kTK8wj
rU6D9eb8mEN1oxk=
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=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3
Date: Tue, 30 Sep 2014 14:57:54 +0000 (UTC)
Lines: 29
Message-ID: <loom.20140930T160259-654@post.gmane.org>
References: <announce DOT 54239E64 DOT 7050600 AT byu DOT net> <loom DOT 20140929T105037-80 AT post DOT gmane DOT org> <542990F0 DOT 2050000 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Eric Blake <eblake <at> redhat.com> writes:
> Can you give me a simple self-contained script that creates all
> necessary prerequisites before attempting the failing 'cp', to help me
> in trying to reproduce what is going differently here?

As an admin do (replace "user" with any user that is not the admin user and
I'm assuming that /tmp is not mounted "noacl").

--------------
umask 777
cd /tmp
mkdir -p ACLtest/profile.d
setfacl -m m:rwx,g:Administrators:rwx,\
d:m:rwx,d:u::---,d:g::---,d:o::---,\
d:g:Administrators:rwx,u::--- ACLtest/
chown -R user ACLtest/
getfacl ACLtest/ | setfacl -f - ACLtest/profile.d/
getfacl ACLtest ACLtest/profile.d/
ls -alR ACLtest/
cp -r /etc/profile.d/ ACLtest/
--------------

With coreutils 8.23-2 this suceeds, with the -3 release you'll get the error
cp: cannot create directory ‘ACLtest/profile.d’: File exists


Hope this helps,
Achim.



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