diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2016-05-03 18:13:40 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2016-05-03 18:21:53 +0300 |
commit | 3fda402c006f63e68e1a72f26f4c3ff3040289af (patch) | |
tree | 6813429f70b3e6e2cdb7603e3f22c0ff410fdbb7 /src/bindfs.1 | |
parent | e04956bc6b3b95608f13ead116ad648ac63a48fe (diff) | |
download | bindfs-3fda402c006f63e68e1a72f26f4c3ff3040289af.tar.gz |
Added man page entry for --[ug]id-offset.
Diffstat (limited to 'src/bindfs.1')
-rw-r--r-- | src/bindfs.1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1 index 00e434d..d98cb74 100644 --- a/src/bindfs.1 +++ b/src/bindfs.1 @@ -67,6 +67,21 @@ the corresponding behavior of this option. Requires mounting as root. +.TP +.B \-\-uid\-offset=..., \-o uid\-offset=... +Works like \-\-map, but adds the given number to all file owner user IDs. +For instance, \fB--uid-offset=100000\fP causes a file owned by user \fI123\fP +to be shown as owned by user \fI100123\fP. + +For now, this option cannot be used together with \-\-map. Please file an issue +with the desired semantics if you have a case for using them together. + +Requires mounting as root. + +.TP +.B \-\-gid\-offset=..., \-o gid\-offset=... +Works exactly like \fB--uid-offset\fP but for groups. + .SH FILE CREATION POLICY New files and directories are created so they are owned by the mounter. |