diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-07 17:16:20 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-07 17:16:52 +0000 |
commit | 37a242286896afe119163335143ffbdd6842127b (patch) | |
tree | e40a70ba2dcbaa37f765da4aee738e668fd6b3cd /fuse | |
parent | fd4d0d83f133772aa1e84d8a3af6f642f9c73b5c (diff) | |
download | libguestfs-37a242286896afe119163335143ffbdd6842127b.tar.gz libguestfs-37a242286896afe119163335143ffbdd6842127b.tar.xz libguestfs-37a242286896afe119163335143ffbdd6842127b.zip |
fuse: Set UID and GID when performing FUSE tests.
This avoids breakage on Ubuntu.
Diffstat (limited to 'fuse')
-rwxr-xr-x | fuse/test-fuse.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh index 2c0aec56..6d2f0fe0 100755 --- a/fuse/test-fuse.sh +++ b/fuse/test-fuse.sh @@ -99,7 +99,9 @@ $guestfish <<EOF EOF stage Mounting the filesystem -$guestmount -a "$image" -m /dev/sda1 "$mp" +$guestmount \ + -a "$image" -m /dev/sda1 \ + -o uid="$(id -u)" -o gid="$(id -g)" "$mp" # To debug guestmount, add this to the end of the preceding command: # -v -x & sleep 60 |