diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-18 12:33:16 +0100 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-05 21:26:44 +0100 |
| commit | af0051927ebf30f76e20741999c0ce19b988f35e (patch) | |
| tree | 11b948e2fbc3fd670ce9f04ba204b22b07e2b48d /python/run-python-tests | |
| parent | ad6901ad4aaf9683179e26391fe318cb9e8f270b (diff) | |
tar-in: Add --no-same-owner flag to tar command when target filesystem doesn't support chown (RHBZ#840572).
When using tar-in or tools built around it such as virt-make-fs, if
the target filesystem is vfat then unpacking the tarball would fail
because tar tries to chown(2) files and fails.
You would see errors such as:
tar: <file>: Cannot change ownership to uid 500, gid 500: Operation not permitted
This change detects whether the target filesystem supports chown(2).
If not, it adds the --no-same-owner flag to tar to stop it from trying
to change the ownership of newly created files.
(cherry picked from commit 50780a84f65ec5d76605691cea889392c2730f54)
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions
