aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.1
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2016-05-03 18:13:40 +0300
committerMartin Pärtel <martin.partel@gmail.com>2016-05-03 18:21:53 +0300
commit3fda402c006f63e68e1a72f26f4c3ff3040289af (patch)
tree6813429f70b3e6e2cdb7603e3f22c0ff410fdbb7 /src/bindfs.1
parente04956bc6b3b95608f13ead116ad648ac63a48fe (diff)
downloadbindfs-3fda402c006f63e68e1a72f26f4c3ff3040289af.tar.gz
Added man page entry for --[ug]id-offset.
Diffstat (limited to 'src/bindfs.1')
-rw-r--r--src/bindfs.115
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.