diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2017-02-04 02:15:28 +0000 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2017-02-04 02:15:28 +0000 |
commit | 040989a14ad2265f4835121fd138654f6424150f (patch) | |
tree | 26f0f275afd187bae3a807669a533ff10143b7d1 | |
parent | 688e4ac783a0e4fcf3a6ea4e09c77ac706d70854 (diff) | |
download | bindfs-040989a14ad2265f4835121fd138654f6424150f.tar.gz |
Deprecate -n as an alias for --no-allow-other.
This partially addresses #48.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/bindfs.1 | 4 | ||||
-rw-r--r-- | src/bindfs.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2017-02-04 Martin Pärtel <martin dot partel at gmail dot com> + + * Deprecated -n as an alias to --no-allow-other (issue #48). + 2017-01-29 Martin Pärtel <martin dot partel at gmail dot com> * Fixed option parsing failure when source dir has a comma (issue #47). diff --git a/src/bindfs.1 b/src/bindfs.1 index f74cfc8..121c8ab 100644 --- a/src/bindfs.1 +++ b/src/bindfs.1 @@ -289,10 +289,12 @@ Displays a help message and exits. Displays version information and exits. .TP -.B \-n, \-\-no\-allow\-other, \-o no\-allow\-other +.B \-\-no\-allow\-other, \-o no\-allow\-other Does not add \fB\-o allow_other\fP to FUSE options. This causes the mount to be accessible only by the current user. +(The deprecated shorthand \fB\-n\fP is also still accepted.) + .TP .B \-\-realistic\-permissions, \-o realistic\-permissions Hides read/write/execute permissions for a mirrored file when the mounter diff --git a/src/bindfs.c b/src/bindfs.c index c87b3d8..b38e598 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -1424,7 +1424,7 @@ static void print_usage(const char *progname) " --write-rate=... Limit to bytes/sec that can be written.\n" "\n" "Miscellaneous:\n" - " -n --no-allow-other Do not add -o allow_other to fuse options.\n" + " --no-allow-other Do not add -o allow_other to fuse options.\n" " --realistic-permissions Hide permission bits for actions mounter can't do.\n" " --ctime-from-mtime Read file properties' change time\n" " from file content modification time.\n" |