GNU logs - #34340, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34340: cp -a doesn't copy acls 
Resent-From: L A Walsh <coreutils@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Tue, 05 Feb 2019 23:52:01 +0000
Resent-Message-ID: <handler.34340.B.15494106617235 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 34340
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 34340 <at> debbugs.gnu.org
X-Debbugs-Original-To: Coreutils <bug-coreutils@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.15494106617235
          (code B ref -1); Tue, 05 Feb 2019 23:52:01 +0000
Received: (at submit) by debbugs.gnu.org; 5 Feb 2019 23:51:01 +0000
Received: from localhost ([127.0.0.1]:33881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1grAUX-0001sV-0B
	for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 18:51:01 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60182)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1grAUS-0001sD-PX
 for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 18:50:57 -0500
Received: from lists.gnu.org ([209.51.188.17]:60204)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1grAUN-0001Ct-Jr
 for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 18:50:51 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46313)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1grAUM-0007eC-M0
 for bug-coreutils@HIDDEN; Tue, 05 Feb 2019 18:50:51 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1grAUM-0001BT-4x
 for bug-coreutils@HIDDEN; Tue, 05 Feb 2019 18:50:50 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:52772
 helo=Ishtar.sc.tlinx.org)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1grAUK-00010o-0D
 for bug-coreutils@HIDDEN; Tue, 05 Feb 2019 18:50:50 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 x15NoYxd096907
 for <bug-coreutils@HIDDEN>; Tue, 5 Feb 2019 15:50:37 -0800
Message-ID: <5C5A214B.1030107@HIDDEN>
Date: Tue, 05 Feb 2019 15:50:35 -0800
From: L A Walsh <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
X-Received-From: 173.164.175.65
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

and it is not on the manpage, but tar copies
acls and has them on the manpage.

It guess it is an oversite that cp copies over 'xattrs'
but not acls?






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: L A Walsh <coreutils@HIDDEN>
Subject: bug#34340: Acknowledgement (cp -a doesn't copy acls )
Message-ID: <handler.34340.B.15494106617235.ack <at> debbugs.gnu.org>
References: <5C5A214B.1030107@HIDDEN>
X-Gnu-PR-Message: ack 34340
X-Gnu-PR-Package: coreutils
Reply-To: 34340 <at> debbugs.gnu.org
Date: Tue, 05 Feb 2019 23:52:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 34340 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
34340: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34340
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34340: cp -a doesn't copy acls
Resent-From: Assaf Gordon <assafgordon@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 08 Feb 2019 21:31:01 +0000
Resent-Message-ID: <handler.34340.B34340.154966141926813 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 34340
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: L A Walsh <coreutils@HIDDEN>, 34340 <at> debbugs.gnu.org
Received: via spool by 34340-submit <at> debbugs.gnu.org id=B34340.154966141926813
          (code B ref 34340); Fri, 08 Feb 2019 21:31:01 +0000
Received: (at 34340) by debbugs.gnu.org; 8 Feb 2019 21:30:19 +0000
Received: from localhost ([127.0.0.1]:40202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gsDj1-0006yJ-IK
	for submit <at> debbugs.gnu.org; Fri, 08 Feb 2019 16:30:19 -0500
Received: from mail-pg1-f171.google.com ([209.85.215.171]:39749)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1gsDix-0006xx-KY; Fri, 08 Feb 2019 16:30:16 -0500
Received: by mail-pg1-f171.google.com with SMTP id r11so2127823pgp.6;
 Fri, 08 Feb 2019 13:30:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=rNdmZNosW+HqhP+r2UJoeVYqkKUI/6C5fMcouv6/Jrg=;
 b=kd007l/9EJrF5tSPn9cq+okGMQulyVOJMYC5Ngq+9EZU21m/VXHsagTOmSMiE9cndt
 zdZ4XpXfzcmYQAsLZNBmeLN85mtfi2OWVHqFS+LKIsv+WnWjyLaznrfc9bVC/e8sqne4
 +4TUynAHgz8Lt5XpSBc8q3nNbkv4IfWgLi1/b/cq/GpGbutz4a9blG3m9D3rfpAu74ij
 ycdRH/3rZAHDqRpN8UF3HOoV7L7uQjyso7cRoc/oB3aQHf4R8BiLAJt83EyfTPob18FS
 Aw0UHRwz3boS8iJ0isnGzfzAvmPKJvdE4ngWvhrU5Jf+hbHHgLOjyQFJcKHSeQLhNpqb
 DqQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=rNdmZNosW+HqhP+r2UJoeVYqkKUI/6C5fMcouv6/Jrg=;
 b=ZHsjEl+/WThvGTUmlSe2EaBOEJxtlXSe6KtsLefM5s5WnqkVTSb1hMlWz2NWuLyyPU
 Trp7XTJMGYCRKLqsrxulCGNw55z/HCkLPD0OKthC1dRNWIwB+RkUOW/jrsTmRWKFStTa
 2HEIefGxOXP1PjfRrh0kloDP2eGX6a3siwxc9uSJ6F2/A3mnv+bNClR8P6WWgeQWQkB5
 Hdi3P4uLbSYMzIIHNYJhDvylt4J1kNmk7pLBftIW+1YJe3Sm47KbZYTCGcGOiE6OH2YS
 ptK6a7jS+u1rbnkb8JabxN4+bi3ae5yeO6HeM9/Nj3BZimOUWwGfaNtMmMWhJir5moCn
 zNeg==
X-Gm-Message-State: AHQUAuaTxRIOcKLnjoMVXwpC3bR52vi9u9Tw0KKlalA5Qg0zbJV6SV6d
 0P1YkU0OHdsHpYXxqqRAgffzKN6O
X-Google-Smtp-Source: AHgI3IYPUH6zik4i1dE8q6zA0+KcvqITMA0Fqf1ofszZDgb241108W+4pN/JfKyw7sdmgiKxm0Akaw==
X-Received: by 2002:a63:295:: with SMTP id 143mr6899227pgc.362.1549661409062; 
 Fri, 08 Feb 2019 13:30:09 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 b2sm4745720pfm.3.2019.02.08.13.30.07
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 08 Feb 2019 13:30:08 -0800 (PST)
References: <5C5A214B.1030107@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <9bf883cc-b492-9862-0837-aaa454424c9e@HIDDEN>
Date: Fri, 8 Feb 2019 14:30:06 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <5C5A214B.1030107@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 34340 moreinfo
stop

Hello,

On 2019-02-05 4:50 p.m., L A Walsh wrote:
> and it is not on the manpage, but tar copies
> acls and has them on the manpage.
> 
> It guess it is an oversite that cp copies over 'xattrs'
> but not acls?

First,
Can you verify the 'cp' binary you are using was compiled with
ACL support? Something like:

   $ ldd $(which cp) | grep acl
   libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f0b68066000)


Second,
Are you using a local file-system or a remote one?
There is a previous bug about ACLs on NFS4: https://bugs.gnu.org/20884 .

Third,
Do you have a reproducible case?
e.g. on my local system:

    $ touch a
    $ setfacl -m "u:nobody:w" a
    $ cp -a a b

    $ getfacl b
    # file: b
    # owner: gordon
    # group: gordon
    user::rw-
    user:nobody:-w-
    group::r--
    mask::rw-
    other::r--

If you have a reproducible case, please also run it with "strace" to
help us troubleshoot the issue more clearly, e.g.

    strace -o cp-acl.log cp -a a b

And attach the 'cp-acl.log' file.

regards,
  - assaf









Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 8 Feb 2019 21:30:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 08 16:30:19 2019
Received: from localhost ([127.0.0.1]:40200 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gsDj1-0006yH-8c
	for submit <at> debbugs.gnu.org; Fri, 08 Feb 2019 16:30:19 -0500
Received: from mail-pg1-f171.google.com ([209.85.215.171]:39749)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1gsDix-0006xx-KY; Fri, 08 Feb 2019 16:30:16 -0500
Received: by mail-pg1-f171.google.com with SMTP id r11so2127823pgp.6;
 Fri, 08 Feb 2019 13:30:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=rNdmZNosW+HqhP+r2UJoeVYqkKUI/6C5fMcouv6/Jrg=;
 b=kd007l/9EJrF5tSPn9cq+okGMQulyVOJMYC5Ngq+9EZU21m/VXHsagTOmSMiE9cndt
 zdZ4XpXfzcmYQAsLZNBmeLN85mtfi2OWVHqFS+LKIsv+WnWjyLaznrfc9bVC/e8sqne4
 +4TUynAHgz8Lt5XpSBc8q3nNbkv4IfWgLi1/b/cq/GpGbutz4a9blG3m9D3rfpAu74ij
 ycdRH/3rZAHDqRpN8UF3HOoV7L7uQjyso7cRoc/oB3aQHf4R8BiLAJt83EyfTPob18FS
 Aw0UHRwz3boS8iJ0isnGzfzAvmPKJvdE4ngWvhrU5Jf+hbHHgLOjyQFJcKHSeQLhNpqb
 DqQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=rNdmZNosW+HqhP+r2UJoeVYqkKUI/6C5fMcouv6/Jrg=;
 b=ZHsjEl+/WThvGTUmlSe2EaBOEJxtlXSe6KtsLefM5s5WnqkVTSb1hMlWz2NWuLyyPU
 Trp7XTJMGYCRKLqsrxulCGNw55z/HCkLPD0OKthC1dRNWIwB+RkUOW/jrsTmRWKFStTa
 2HEIefGxOXP1PjfRrh0kloDP2eGX6a3siwxc9uSJ6F2/A3mnv+bNClR8P6WWgeQWQkB5
 Hdi3P4uLbSYMzIIHNYJhDvylt4J1kNmk7pLBftIW+1YJe3Sm47KbZYTCGcGOiE6OH2YS
 ptK6a7jS+u1rbnkb8JabxN4+bi3ae5yeO6HeM9/Nj3BZimOUWwGfaNtMmMWhJir5moCn
 zNeg==
X-Gm-Message-State: AHQUAuaTxRIOcKLnjoMVXwpC3bR52vi9u9Tw0KKlalA5Qg0zbJV6SV6d
 0P1YkU0OHdsHpYXxqqRAgffzKN6O
X-Google-Smtp-Source: AHgI3IYPUH6zik4i1dE8q6zA0+KcvqITMA0Fqf1ofszZDgb241108W+4pN/JfKyw7sdmgiKxm0Akaw==
X-Received: by 2002:a63:295:: with SMTP id 143mr6899227pgc.362.1549661409062; 
 Fri, 08 Feb 2019 13:30:09 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 b2sm4745720pfm.3.2019.02.08.13.30.07
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 08 Feb 2019 13:30:08 -0800 (PST)
Subject: Re: bug#34340: cp -a doesn't copy acls
To: L A Walsh <coreutils@HIDDEN>, 34340 <at> debbugs.gnu.org
References: <5C5A214B.1030107@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <9bf883cc-b492-9862-0837-aaa454424c9e@HIDDEN>
Date: Fri, 8 Feb 2019 14:30:06 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <5C5A214B.1030107@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 34340 moreinfo
stop

Hello,

On 2019-02-05 4:50 p.m., L A Walsh wrote:
> and it is not on the manpage, but tar copies
> acls and has them on the manpage.
> 
> It guess it is an oversite that cp copies over 'xattrs'
> but not acls?

First,
Can you verify the 'cp' binary you are using was compiled with
ACL support? Something like:

   $ ldd $(which cp) | grep acl
   libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f0b68066000)


Second,
Are you using a local file-system or a remote one?
There is a previous bug about ACLs on NFS4: https://bugs.gnu.org/20884 .

Third,
Do you have a reproducible case?
e.g. on my local system:

    $ touch a
    $ setfacl -m "u:nobody:w" a
    $ cp -a a b

    $ getfacl b
    # file: b
    # owner: gordon
    # group: gordon
    user::rw-
    user:nobody:-w-
    group::r--
    mask::rw-
    other::r--

If you have a reproducible case, please also run it with "strace" to
help us troubleshoot the issue more clearly, e.g.

    strace -o cp-acl.log cp -a a b

And attach the 'cp-acl.log' file.

regards,
  - assaf










Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.