Public bug reported:

 Dear tar maintainer:

   I use the command of: 
    sudo tar zJvf ubuntu-24.04-preinstalled-desktop-arm64.rootfs.tar.xz -C tmp
   and I saw the ownership and groupship of the folder of ./var/lib/gdm3/.config
   is wrong as: 
drwxr-xr-x 3 113 134 4096 Nov 25 06:20 tmp/var/lib/gdm3/.config/
   but the correct value is:
 sudo tar  --numeric-owner -tJvf  
./ubuntu-24.04-preinstalled-desktop-arm64.rootfs.tar.xz   ./var/lib/gdm3 
drwxr-xr-x 0/0               0 2026-11-25 06:20 ./var/lib/gdm3/
drwxr-xr-x 121/121           0 2026-11-25 06:20 ./var/lib/gdm3/.config/
drwxr-xr-x 121/121           0 2026-11-25 06:20 ./var/lib/gdm3/.config/pulse/
-rw-r--r-- 121/121         444 2026-11-25 06:20 
./var/lib/gdm3/.config/pulse/default.pa

  best regard!
      
  from Bill Z

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: tar 1.35+dfsg-3ubuntu0.4
ProcVersionSignature: Ubuntu 6.8.0-149.149-generic 6.8.12
Uname: Linux 6.8.0-149-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CurrentDesktop: XFCE
Date: Mon Nov 30 10:55:00 2026
InstallationDate: Installed on 2024-06-05 (908 days ago)
InstallationMedia: Ubuntu-Server 20.04.6 LTS "Focal Fossa" - Release amd64 
(20230314.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: tar
UpgradeStatus: Upgraded to noble on 2024-10-22 (769 days ago)

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


** Tags: amd64 apport-bug noble

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

Title:
  sudo tar xJvf rootfs.tar.xz -C tmp:  wrong ownership/groupship for
  ./var/lib/gdm3/.config folder

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to