[Bug 1386237] [NEW] tar acl support has strange behaviors

Scott Moser smoser at ubuntu.com
Mon Oct 27 14:53:23 UTC 2014


Public bug reported:

as discovered in bug 1382632 (http://launchpad.net/bugs/1382632), tar's --acl has unexpected behaviors.
The one that caught us there was that extracting a tar file with '--acl' that was created without '--acl' results in default acl being set on the top level extracted directory.  One would expect that if the source tar file had no acl information that the extracted directory would have no 'default' acl.

I'll attach a script here that shows behavior of multiple combinations of:
  tar -c [--acl / -no-acl / default]
  tar -x [--acl / --no-acl / default ]
and source directories with acl, without acl and with default "default" acl.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: tar 1.27.1-2
ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Oct 27 09:42:03 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (1104 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: tar
UpgradeStatus: Upgraded to utopic on 2013-05-20 (525 days ago)

** Affects: tar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

** Attachment added: "tar-acl-behavior: show tars' behavior with different combinations"
   https://bugs.launchpad.net/bugs/1386237/+attachment/4246255/+files/tar-acl-beavior

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tar in Ubuntu.
https://bugs.launchpad.net/bugs/1386237

Title:
  tar acl support has strange behaviors

Status in “tar” package in Ubuntu:
  New

Bug description:
  as discovered in bug 1382632 (http://launchpad.net/bugs/1382632), tar's --acl has unexpected behaviors.
  The one that caught us there was that extracting a tar file with '--acl' that was created without '--acl' results in default acl being set on the top level extracted directory.  One would expect that if the source tar file had no acl information that the extracted directory would have no 'default' acl.

  I'll attach a script here that shows behavior of multiple combinations of:
    tar -c [--acl / -no-acl / default]
    tar -x [--acl / --no-acl / default ]
  and source directories with acl, without acl and with default "default" acl.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: tar 1.27.1-2
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
  Uname: Linux 3.16.0-23-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Oct 27 09:42:03 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-10-19 (1104 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: tar
  UpgradeStatus: Upgraded to utopic on 2013-05-20 (525 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tar/+bug/1386237/+subscriptions



More information about the foundations-bugs mailing list