git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daemon: Parse /proc/mounts instead of /etc/mtab
[libguestfs.git]
/
fuse
/
test-fuse.sh
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
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
# To debug guestmount, add this to the end of the preceding command:
# -v -x & sleep 60