bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] ACL entries contain comments which may break compatibility


From: Joerg Schilling
Subject: Re: [Bug-tar] ACL entries contain comments which may break compatibility
Date: Mon, 26 Nov 2018 12:44:41 +0100
User-agent: Heirloom mailx 12.5 7/5/10

Micha? Górny <address@hidden> wrote:

> Hi,
>
> Thanks for fixing the previous bug I reported.  Sadly, I just managed to
> accidentally find another one.  When ACL mask restricts effective ACL
> entries, getfacl(1) reports the effective permissions as a comment,
> e.g.:
>
> user:nobody:rw-                       #effective:r--
>
> It seems that GNU tar writes that comment as part of the pax header,
> and e.g. libarchive does not restore the ACL correctly.
>

Interesting, before I thought this code has been created by "looking at" the 
original implementation from "star", but I did not understand why GNU tar 
incorrectly leaves default ACLs on files that have been archived without ACLs.

Now it is obvious that the code has been written without looking at the 
original implementation....

Jörg

-- 
 EMail:address@hidden                    (home) Jörg Schilling D-13353 Berlin
    address@hidden (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]