qemu-cr16/tests/qemu-iotests/tests/fuse-allow-other.out
Max Reitz d9f008e623 iotests/fuse-allow-other: Test allow-other
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210625142317.271673-7-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-07-09 12:26:05 +02:00

88 lines
3.1 KiB
Text

QA output created by fuse-allow-other
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536
=== Test permissions ===
--- allow-other=off ---
{'execute': 'qmp_capabilities'}
{"return": {}}
{'execute': 'block-export-add',
'arguments': {
'type': 'fuse',
'id': 'export',
'node-name': 'node-format',
'mountpoint': 'TEST_DIR/fuse-export',
'allow-other': 'off'
} }
{"return": {}}
(Removing all permissions)
Permissions post-chmod: 0
(Granting u+r)
Permissions post-chmod: 400
(Granting read permissions for everyone)
chmod: changing permissions of 'TEST_DIR/fuse-export': Operation not permitted
Permissions post-chmod: 400
Doing operations as nobody:
cat: fuse-export: Permission denied
stat: cannot statx 'fuse-export': Permission denied
cat: fuse-export: Permission denied
stat: cannot statx 'fuse-export': Permission denied
{'execute': 'quit'}
{"return": {}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
--- allow-other=on ---
{'execute': 'qmp_capabilities'}
{"return": {}}
{'execute': 'block-export-add',
'arguments': {
'type': 'fuse',
'id': 'export',
'node-name': 'node-format',
'mountpoint': 'TEST_DIR/fuse-export',
'allow-other': 'on'
} }
{"return": {}}
(Removing all permissions)
Permissions post-chmod: 0
(Granting u+r)
Permissions post-chmod: 400
(Granting read permissions for everyone)
Permissions post-chmod: 444
Doing operations as nobody:
Permissions seen by nobody: 444
cat: fuse-export: Permission denied
Permissions seen by nobody: 440
{'execute': 'quit'}
{"return": {}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
--- allow-other=auto ---
{'execute': 'qmp_capabilities'}
{"return": {}}
{'execute': 'block-export-add',
'arguments': {
'type': 'fuse',
'id': 'export',
'node-name': 'node-format',
'mountpoint': 'TEST_DIR/fuse-export',
'allow-other': 'auto'
} }
{"return": {}}
(Removing all permissions)
Permissions post-chmod: 0
(Granting u+r)
Permissions post-chmod: 400
(Granting read permissions for everyone)
Permissions post-chmod: 444
Doing operations as nobody:
Permissions seen by nobody: 444
cat: fuse-export: Permission denied
Permissions seen by nobody: 440
{'execute': 'quit'}
{"return": {}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
*** done