From 3fda402c006f63e68e1a72f26f4c3ff3040289af Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Tue, 3 May 2016 18:13:40 +0300 Subject: Added man page entry for --[ug]id-offset. --- src/bindfs.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src') 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. -- cgit v1.2.3