Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / tests / qemu-iotests / tests / fuse-allow-other.out
blob543fa52a06369de0a4b21a66b6c4635f78c7f9f3
1 QA output created by fuse-allow-other
2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536
4 === Test permissions ===
6 --- allow-other=off ---
7 {'execute': 'qmp_capabilities'}
8 {"return": {}}
9 {'execute': 'block-export-add',
10               'arguments': {
11                   'type': 'fuse',
12                   'id': 'export',
13                   'node-name': 'node-format',
14                   'mountpoint': 'TEST_DIR/fuse-export',
15          'allow-other': 'off'
16               } }
17 {"return": {}}
18 (Removing all permissions)
19 Permissions post-chmod: 0
20 (Granting u+r)
21 Permissions post-chmod: 400
22 (Granting read permissions for everyone)
23 chmod: changing permissions of 'TEST_DIR/fuse-export': Operation not permitted
24 Permissions post-chmod: 400
25 Doing operations as nobody:
26 cat: fuse-export: Permission denied
27 stat: cannot statx 'fuse-export': Permission denied
28 cat: fuse-export: Permission denied
29 stat: cannot statx 'fuse-export': Permission denied
30 {'execute': 'quit'}
31 {"return": {}}
32 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
33 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
35 --- allow-other=on ---
36 {'execute': 'qmp_capabilities'}
37 {"return": {}}
38 {'execute': 'block-export-add',
39               'arguments': {
40                   'type': 'fuse',
41                   'id': 'export',
42                   'node-name': 'node-format',
43                   'mountpoint': 'TEST_DIR/fuse-export',
44          'allow-other': 'on'
45               } }
46 {"return": {}}
47 (Removing all permissions)
48 Permissions post-chmod: 0
49 (Granting u+r)
50 Permissions post-chmod: 400
51 (Granting read permissions for everyone)
52 Permissions post-chmod: 444
53 Doing operations as nobody:
54 Permissions seen by nobody: 444
55 cat: fuse-export: Permission denied
56 Permissions seen by nobody: 440
57 {'execute': 'quit'}
58 {"return": {}}
59 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
60 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
62 --- allow-other=auto ---
63 {'execute': 'qmp_capabilities'}
64 {"return": {}}
65 {'execute': 'block-export-add',
66               'arguments': {
67                   'type': 'fuse',
68                   'id': 'export',
69                   'node-name': 'node-format',
70                   'mountpoint': 'TEST_DIR/fuse-export',
71          'allow-other': 'auto'
72               } }
73 {"return": {}}
74 (Removing all permissions)
75 Permissions post-chmod: 0
76 (Granting u+r)
77 Permissions post-chmod: 400
78 (Granting read permissions for everyone)
79 Permissions post-chmod: 444
80 Doing operations as nobody:
81 Permissions seen by nobody: 444
82 cat: fuse-export: Permission denied
83 Permissions seen by nobody: 440
84 {'execute': 'quit'}
85 {"return": {}}
86 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
87 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_EXPORT_DELETED", "data": {"id": "export"}}
88 *** done