Ticket #3709 (closed defect: fixed)

Opened 13 months ago

Last modified 7 months ago

Wrong directories owner for tar --numeric-owner -g

Reported by: tester Owned by:
Priority: major Milestone: 4.8.20
Component: mc-vfs Version: 4.8.18
Keywords: tar numeric-owner incremental Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Try as root:
mkdir -p TEST/TEST2
echo aaa > TEST/TEST2/aaa.txt
chown 10000:10000 TEST
chown 10001:10001 TEST/TEST2
chown 10002:10002 TEST/TEST2/aaa.txt

tar --numeric-owner -zcf test1.tar.gz TEST
tar --numeric-owner -g test.inc -zcf test2.tar.gz TEST

and now view these tarballs with long view. Directories of test2.tar.gz have owner root instead of 10000 or 10001, but if you untar them using tar -xvf directories owners are correct

Change History

comment:1 Changed 13 months ago by andrew_b

  • Milestone 4.8.19 deleted

comment:2 Changed 13 months ago by andrew_b

  • Milestone set to Future Releases

comment:3 Changed 11 months ago by andrew_b

  • Blocked By 2279 added

I think this bug has the same root as #2297.

Last edited 11 months ago by andrew_b (previous) (diff)

comment:4 Changed 11 months ago by andrew_b

  • Blocked By 2297 added; 2279 removed

comment:5 Changed 7 months ago by andrew_b

  • Blocked By 2297 removed

comment:6 Changed 7 months ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Future Releases to 4.8.20
Note: See TracTickets for help on using tickets.