aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.