Your message dated Sat, 28 Mar 2020 12:35:29 -0600
with message-id <[email protected]>
and subject line Re: Bug#955217: tar ignores --owner/--group
has caused the Debian Bug report #955217,
regarding tar ignores --owner/--group
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
955217: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955217
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tar
Version: 1.30+dfsg-7
Severity: normal

Steps to reproduce:
# mkdir 1
# touch 1/0
# tar -cvf 1.tar 1
# rm -r 1
# tar -xf 1.tar --owner=1000 --group=1000
# ls -l 1

Expected: files and directories are unpacked with UID and GID 1000.
Actual: owner and group didn't change.

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tar depends on:
ii  libacl1      2.2.53-6
ii  libc6        2.30-2
ii  libselinux1  3.0-1+b1

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2        1.0.8-2
pn  ncompress    <none>
pn  tar-doc      <none>
pn  tar-scripts  <none>
ii  xz-utils     5.2.4-1+b1

-- no debconf information

--- End Message ---
--- Begin Message ---
Sepi Gair <[email protected]> writes:

> # tar -xf 1.tar --owner=1000 --group=1000
>
> Expected: files and directories are unpacked with UID and GID 1000.
> Actual: owner and group didn't change.

The --owner and --group options are only documented to have defined
behavior when *creating* archives, not when extracting them.  So, sorry,
but this is not a bug.

Bdal

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to