summaryrefslogtreecommitdiffstats
path: root/fuse/test-fuse.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fuse/test-fuse.sh')
-rwxr-xr-xfuse/test-fuse.sh4
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