Red Hat Bugzilla – Bug 840572
virt-make-fs / tar-in should support vfat properly
Last modified: 2012-07-18 08:10:26 EDT
Description of problem:
At the moment if you try to use 'virt-make-fs' to create
a msdos/vfat filesystem you're fairly well bound to hit the
following annoying error:
virt-make-fs: error copying contents into filesystem
An error here usually means that the program did not estimate the
filesystem size correctly. Please read the BUGS section of the manpage.
tar_in: tar subcommand failed on directory: /: tar: ./answerfile: Cannot change ownership to uid 500, gid 500: Operation not permitted
tar: .: Cannot change ownership to uid 500, gid 500: Operation not permitted
Although it is well understood why this error occurs, we really
should just make it work.
It seems as if passing tar --no-same-owner would fix this. We
could change the tar-in APIs to allow this and other flags.
Version-Release number of selected component (if applicable):
Fixed upstream in these commits:
and in libguestfs >= 1.19.21.