summaryrefslogtreecommitdiffstats
path: root/ocaml/t/exit.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-18 12:33:16 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-18 12:33:16 +0100
commit50780a84f65ec5d76605691cea889392c2730f54 (patch)
treeeed263a8ff1c4ef4411005930df7146df921206b /ocaml/t/exit.c
parent781857a86b3bc8238995a9212ea09aa368fc2fc9 (diff)
downloadlibguestfs-50780a84f65ec5d76605691cea889392c2730f54.tar.gz
libguestfs-50780a84f65ec5d76605691cea889392c2730f54.tar.xz
libguestfs-50780a84f65ec5d76605691cea889392c2730f54.zip
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.
Diffstat (limited to 'ocaml/t/exit.c')
0 files changed, 0 insertions, 0 deletions