← Back to team overview

touch-packages team mailing list archive

[Bug 1386237] Re: tar acl support has strange behaviors

 

heres output of a run of 'tmp-acl-bavior':


** Attachment added: "example output of running"
   https://bugs.launchpad.net/ubuntu/+source/tar/+bug/1386237/+attachment/4246269/+files/out

** Description changed:

  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 ]
+   tar -c [--acl / -no-acl / default]
+   tar -x [--acl / --no-acl / default ]
  and source directories with acl, without acl and with default "default" acl.
+ 
+ Related Bugs:
+  * bug 1382632: horizon insecure key file permissions
+  * bug 1386237: tar strange behavior with --acl
+  * bug 1313550: ping broken (xattrs lost in tar extraction)
+ 
  
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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.

  Related Bugs:
   * bug 1382632: horizon insecure key file permissions
   * bug 1386237: tar strange behavior with --acl
   * bug 1313550: ping broken (xattrs lost in tar extraction)

  
  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


References