-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
option_definitions.json
77 lines (66 loc) · 6.73 KB
/
option_definitions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// TODO: Update after each bindfs release
{
// "File" ownership
"force-user": { "long": ["force-user", "user", "owner"], "short": ["u"], "type": "option", "since": "0.0.1" },
"force-group": { "long": ["force-group", "group"], "short": ["g"], "type": "option", "since": "0.0.1" },
"perms": { "long": ["perms"], "short": ["p"], "type": "option", "since": "0.0.1" },
"mirror": { "long": ["mirror"], "short": ["m"], "type": "option", "since": "0.0.1" },
"mirror-only": { "long": ["mirror-only"], "short": ["M"], "type": "option", "since": "0.0.1" },
"map": { "long": ["map"], "short": [], "type": "option", "since": "1.10" },
"map-passwd": { "long": ["map-passwd"], "short": [], "type": "option", "since": "1.14.6" },
"map-group": { "long": ["map-group"], "short": [], "type": "option", "since": "1.14.6" },
"map-passwd-rev": { "long": ["map-passwd-rev"], "short": [], "type": "option", "since": "1.16.1" },
"map-group-rev": { "long": ["map-group-rev"], "short": [], "type": "option", "since": "1.16.1" },
"uid-offset": { "long": ["uid-offset"], "short": [], "type": "option", "since": "1.13.2" },
"gid-offset": { "long": ["gid-offset"], "short": [], "type": "option", "since": "1.13.2" },
// File creation policy
"create-as-user": { "long": ["create-as-user"], "short": [], "type": "flag", "since": "0.0.1" },
"create-as-mounter": { "long": ["create-as-mounter"], "short": [], "type": "flag", "since": "0.0.1" },
"create-for-user": { "long": ["create-for-user"], "short": [], "type": "option", "since": "0.0.1" },
"create-for-group": { "long": ["create-for-group"], "short": [], "type": "option", "since": "0.0.1" },
"create-with-perms": { "long": ["create-with-perms"], "short": [], "type": "option", "since": "0.0.1" },
// Chown policy
"chown-normal": { "long": ["chown-normal"], "short": [], "type": "flag", "since": "0.0.1" },
"chown-ignore": { "long": ["chown-ignore"], "short": [], "type": "flag", "since": "0.0.1" },
"chown-deny": { "long": ["chown-deny"], "short": [], "type": "flag", "since": "0.0.1" },
// Chgrp policy
"chgrp-normal": { "long": ["chgrp-normal"], "short": [], "type": "flag", "since": "0.0.1" },
"chgrp-ignore": { "long": ["chgrp-ignore"], "short": [], "type": "flag", "since": "0.0.1" },
"chgrp-deny": { "long": ["chgrp-deny"], "short": [], "type": "flag", "since": "0.0.1" },
// Chmod policy
"chmod-normal": { "long": ["chmod-normal"], "short": [], "type": "flag", "since": "0.0.1" },
"chmod-ignore": { "long": ["chmod-ignore"], "short": [], "type": "flag", "since": "0.0.1" },
"chmod-deny": { "long": ["chmod-deny"], "short": [], "type": "flag", "since": "0.0.1" },
"chmod-filter": { "long": ["chmod-filter"], "short": [], "type": "option", "since": "1.12.2" },
"chmod-allow-x": { "long": ["chmod-allow-x"], "short": [], "type": "flag", "since": "0.0.1" },
// Extended attribute policy
"xattr-none": { "long": ["xattr-none"], "short": [], "type": "flag", "since": "0.0.1" },
"xattr-ro": { "long": ["xattr-ro"], "short": [], "type": "flag", "since": "0.0.1" },
"xattr-rw": { "long": ["xattr-rw"], "short": [], "type": "flag", "since": "0.0.1" },
// Other file operations
"delete-deny": { "long": ["delete-deny"], "short": [], "type": "flag", "since": "1.13.9" },
"rename-deny": { "long": ["rename-deny"], "short": [], "type": "flag", "since": "1.13.9" },
// Rate limits
"read-rate": { "long": ["read-rate"], "short": [], "type": "option", "since": "1.12.6" },
"write-rate": { "long": ["write-rate"], "short": [], "type": "option", "since": "1.12.6" },
// Link handling
"hide-hard-links": { "long": ["hide-hard-links"], "short": [], "type": "flag", "since": "1.10" },
"resolve-symlinks": { "long": ["resolve-symlinks"], "short": [], "type": "flag", "since": "1.13.0" },
"resolve-symlink-policy": { "long": ["resolve-symlink-policy"], "short": [], "type": "option", "since": "1.13.0" },
// Multithreading
"multithreaded": { "long": ["multithreaded"], "short": [], "type": "flag", "since": "1.11" },
"enable-lock-forwarding": { "long": ["enable-lock-forwarding"], "short": [], "type": "flag", "since": "1.13.2" },
"disable-lock-forwarding": { "long": ["disable-lock-forwarding"], "short": [], "type": "flag", "since": "1.13.2" },
// Miscellaneous
"no-allow-other": { "long": ["no-allow-other"], "short": ["n"], "type": "flag", "since": "0.0.1" },
"realistic-permissions": { "long": ["realistic-permissions"], "short": [], "type": "flag", "since": "1.10" },
"ctime-from-mtime": { "long": ["ctime-from-mtime"], "short": [], "type": "flag", "since": "0.0.1" },
"enabe-ioctl": { "long": ["enable-ioctl"], "short": [], "type": "flag", "since": "1.13.2" },
"block-devices-as-files": { "long": ["block-devices-as-files"], "short": [], "type": "flag", "since": "1.13.7" },
"forward-odirect": { "long": ["forward-odirect"], "short": [], "type": "option", "since": "1.14.0" },
// FUSE options
"o": { "long": [], "short": ["o"], "type": "option", "since": "0.0.1" },
"r": { "long": [], "short": ["r"], "type": "flag", "since": "0.0.1" },
"d": { "long": [], "short": ["d"], "type": "flag", "since": "0.0.1" },
"f": { "long": [], "short": ["f"], "type": "flag", "since": "0.0.1" }
}