git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4d0d8
)
fuse: Set UID and GID when performing FUSE tests.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 17:16:20 +0000
(17:16 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 17:16:52 +0000
(17:16 +0000)
This avoids breakage on Ubuntu.
fuse/test-fuse.sh
patch
|
blob
|
history
diff --git
a/fuse/test-fuse.sh
b/fuse/test-fuse.sh
index
2c0aec5
..
6d2f0fe
100755
(executable)
--- 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