diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-09-01 18:03:14 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-01 14:52:09 +0200 |
commit | 3ca185850bca6e227adf584851343dd69c2aaf05 (patch) | |
tree | ea44743141810c0dbce4727b09dcf1a602bb9fd8 /find-root.c | |
parent | 123f4bc78c6f62c49f841667884e87e7e39e307f (diff) |
btrfs-progs: tests: Use --no-same-owner option for tar
Some test failed in my nfs dir:
...
[TEST] 006-bad-root-items
tar: test.img: Cannot change ownership to uid 1000, gid 1000: Invalid argument
tar: Exiting with failure status due to previous errors
failed to extract default_case.tar.xz
test failed for case 006-bad-root-items
It is because the image file's owner is:
# tar tvf default_case.tar.xz
-rw-r--r-- fdmanana/fdmanana 2147483648 2014-10-17 17:59 test.img
And make tar failed in chown in nfs.
It is not a big issue because we don't use nfs commonly, but extract
the image file with ownership of current user will be a better choice.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'find-root.c')
0 files changed, 0 insertions, 0 deletions