diff options
author | Max Reitz <mreitz@redhat.com> | 2021-06-25 16:23:12 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-07-09 12:26:05 +0200 |
commit | 2c7dd057aa7bd7a875e9b1a53975c220d6380bc4 (patch) | |
tree | 38e92d88bf97d121a165c3dd090007389fffe479 /tests/qemu-iotests/308.out | |
parent | c2615bdfbd6d5a1a48438102f8ab328fe30b8e27 (diff) | |
download | qemu-2c7dd057aa7bd7a875e9b1a53975c220d6380bc4.zip qemu-2c7dd057aa7bd7a875e9b1a53975c220d6380bc4.tar.gz qemu-2c7dd057aa7bd7a875e9b1a53975c220d6380bc4.tar.bz2 |
export/fuse: Pass default_permissions for mount
We do not do any permission checks in fuse_open(), so let the kernel do
them. We already let fuse_getattr() report the proper UNIX permissions,
so this should work the way we want.
This causes a change in 308's reference output, because now opening a
non-writable export with O_RDWR fails already, instead of only actually
attempting to write to it. (That is an improvement.)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210625142317.271673-2-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/308.out')
-rw-r--r-- | tests/qemu-iotests/308.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/308.out b/tests/qemu-iotests/308.out index 466e7e0..0e94206 100644 --- a/tests/qemu-iotests/308.out +++ b/tests/qemu-iotests/308.out @@ -91,7 +91,7 @@ virtual size: 0 B (0 bytes) 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse', 'writable': true } } {"return": {}} -write failed: Permission denied +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT': Permission denied wrote 65536/65536 bytes at offset 1048576 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) wrote 65536/65536 bytes at offset 1048576 |