From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17269 invoked by alias); 30 Sep 2014 14:58:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17259 invoked by uid 89); 30 Sep 2014 14:58:12 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 30 Sep 2014 14:58:11 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XYysR-0004pQ-Cg for cygwin@cygwin.com; Tue, 30 Sep 2014 16:58:07 +0200 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2014 16:58:07 +0200 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2014 16:58:07 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3 Date: Tue, 30 Sep 2014 16:27:00 -0000 Message-ID: References: <542990F0.2050000@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00451.txt.bz2 Eric Blake 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