Files
libguestfs/daemon
Richard W.M. Jones 50780a84f6 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.
2012-07-18 12:33:16 +01:00
..
2012-07-18 09:05:32 +01:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-01-18 22:05:02 +00:00
2012-05-22 13:50:19 +01:00
2012-07-02 16:42:17 +01:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-01-18 22:05:02 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-03-13 08:23:56 +00:00
2012-02-08 14:35:55 +00:00
2011-11-08 14:43:07 +00:00
2012-01-18 22:05:02 +00:00
2011-11-08 14:43:07 +00:00
2012-07-18 09:37:17 +01:00
2012-03-20 18:50:24 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-03-13 08:23:56 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-07-18 09:37:17 +01:00
2011-11-08 14:43:07 +00:00