delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/12/04:56:26

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=NVA4z0JY1IiVLe5zdOUzjf1/BQ7XoAcZF5kW6WjWBgq9oR32Br6mH
kvGDUYL2M9pKQhtBSSTtKbGSznLrsm1tpn721rBUoKXK1zQxtjdXeUFqOoOi/W/M
IzKz9L6D6qP7TqLzD2zgHLnbuz0rki55ZWOH7gMpEijXCnkRScdICM=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=RJQqRpDM1tFo7ME1NeK257g2cHs=; b=aUOrMoP42mbxj0nYEsVzL7zK8XVa
HLckeHZs+QJ7wIfSR4UTmapPeEf39QQJUa8KpKU44Pjj96rtlj1H2WLppNFB/+NI
bOEzIdWnJT/PCEHh1EOH8FzfakU0vu10966WTUsI+iBjXQmlW9is4BKZqTsgDWoG
0/ivZRChD7gT3IY=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sun, 12 Oct 2014 10:56:04 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3
Message-ID: <20141012085604.GV2681@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <loom DOT 20140930T160259-654 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20140930T160259-654@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--6CXocAQn8Xbegyxo
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sep 30 14:57, Achim Gratz wrote:
> 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?
>=20
> As an admin do (replace "user" with any user that is not the admin user a=
nd
> I'm assuming that /tmp is not mounted "noacl").
>=20
> --------------
> 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/
> --------------
>=20
> With coreutils 8.23-2 this suceeds, with the -3 release you'll get the er=
ror
> cp: cannot create directory =E2=80=98ACLtest/profile.d=E2=80=99: File exi=
sts

It's even simpler than that:

  $ cd /tmp
  $ mkdir -p a/1/2 b/1/2
  $ touch a/1/2/x b/1/2/y
  $ cp -rp a/1/2 b/1
  cp: cannot create directory =E2=80=98b/1/2=E2=80=99: File exists

This is on stock NTFS with Cygwin 1.7.32 and cp from coreutils-8.23-3.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--6CXocAQn8Xbegyxo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUOkIkAAoJEPU2Bp2uRE+gViQQAJk8mWSRI0d1Mf5gr1ue0qTO
zMBXawyXlnfV0WdYg8vm3xF+OA+/UnKVMBoG9togxvvPUNzbUOiQ0vQFbd7tZW03
wFNQU7bJ25cyWnDoxedu5YCcmEGdsqTkHcDVMaoLAOtQo1HfcPOEdfkbEi90/o7n
vVEKllQ4Gv5jMWCKl5EeaKc7EwDy4gPhuXBjAE274JzxAWZ7EnuEatYnV0Tbkmws
6luiUWXLPenxpYfsX7ox9bgciaapAYA6KwoVGfhPcC/1zn4cdmzDL8dE5NqY/PdQ
+uY8J/U8x1bNowUL/0ZfKW5vUIlsnuV4BaErTaIL+XmAeVaReTVcNe/ZBPlneyTe
j0ZwWpXMxZSEItGFIv6MnQo4y7+5AG434lMfPsQqqGU3M8/JVNc/rbFfCj2PkzHz
ObaM/vCbR7+WSFKT3Ri+AJRwOomSpdGkDBRoyVh4vPphwdErYe9vBqkw9tHt7aF6
k6fKiY42rPnC7qguicMXxpGobx2hGdfD2Ow2JvB9V08E1gq2ps+X8dXj0PLg6Rop
REEe3S9RajNSglzDxdvfNriWT8BkXNNJot1oLMJ1t4r/HbZlYdTDZfngGllqxLlC
iSGfV0k/zEN5Hi63GkJTbfKSVv+rgBKynKwxefigRB9QOU12VSVAAcdRyc5ir52u
scqJiqq0JYr5GhLplEBl
=gf1Z
-----END PGP SIGNATURE-----

--6CXocAQn8Xbegyxo--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019