bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] gtar's ACL support is still unusable


From: Joerg Schilling
Subject: [Bug-tar] gtar's ACL support is still unusable
Date: Thu, 14 Mar 2019 14:51:10 +0100
User-agent: Heirloom mailx 12.5 7/5/10

Hi,

I recently mentioned that gtar typically does not support ACLs at all. It e.g. 
does not compile the provided ACL code on any POSIX certified platform.

Now I discovered another problem:

I recently compiled gtar-1.31 on Linux and did some testing. While doing so, I 
discovered that gtar does not unpack any of the ACL reference archives 
correctly.

Trying to unpack the reference archives for the POSIX ACL proposal from 1993
that was withdrawn in 1997 results in something like:

/tmp/tar-1.31/src/tar --acls -xpf acl-test3.tar.gz     
/tmp/tar-1.31/src/tar: default/dir2: Warnung: Funktion acl_from_text 
fehlgeschlagen
/tmp/tar-1.31/src/tar: default/dir3: Warnung: Funktion acl_from_text 
fehlgeschlagen
/tmp/tar-1.31/src/tar: default: Warnung: Funktion acl_from_text fehlgeschlagen
/tmp/tar-1.31/src/tar: default: Warnung: Funktion acl_from_text fehlgeschlagen

If you extract the archive using "star" and then try to create a tar archive 
with ACL support using "gtar", you get an archive that is non-compliant to the 
format definition:

        http://schilytools.sourceforge.net/man/man4/star.4.html

The reference archives are here:

        http://sf.net/projects/s-tar/files/alpha/acl-test.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-test2.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-test3.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-test4.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-test5.tar.gz

        http://sf.net/projects/s-tar/files/alpha/acl-nfsv4-test.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-nfsv4-test2.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-nfsv4-test3.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-nfsv4-test4.tar.gz
        http://sf.net/projects/s-tar/files/alpha/acl-nfsv4-test5.tar.gz

They are also included in the latest schilytools tarball at:

        http://sf.net/projects/schilytools/files/schily-2019-03-11.tar.bz2

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]