Ticket #3709 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.