This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Tue, 30 Sep 2014 14:57:54 +0000 (UTC)
- Subject: Re: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3
- Authentication-results: sourceware.org; auth=none
- 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>
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