aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.1
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2015-09-20 19:25:43 +0100
committerMartin Pärtel <martin.partel@gmail.com>2015-09-20 19:51:27 +0100
commitf06b94b42f53063b954c581204191e9771e8d6ac (patch)
treeedabe3f916ee3b56b2bbfb2078b6ccd283649021 /src/bindfs.1
parenta2f68ef6ae14522291458ff587c39c28cee430dc (diff)
downloadbindfs-f06b94b42f53063b954c581204191e9771e8d6ac.tar.gz
Implemented --resolved-symlink-deletion and added tests.
Diffstat (limited to 'src/bindfs.1')
-rw-r--r--src/bindfs.115
1 files changed, 14 insertions, 1 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1
index 01887ac..00e434d 100644
--- a/src/bindfs.1
+++ b/src/bindfs.1
@@ -168,7 +168,7 @@ but actually does nothing.
Makes chmod always fail with a 'permission denied' error.
.TP
-.B \-\-chmod\-filter=\fIpermissions\fP,, \-o chmod\-filter=...
+.B \-\-chmod\-filter=\fIpermissions\fP, \-o chmod\-filter=...
Changes the permission bits of a chmod request before it is applied to the
original file. Accepts the same permission syntax as \-\-perms.
See \fB\%PERMISSION \%SPECIFICATION\fP below for details.
@@ -249,6 +249,19 @@ not supported and will return an error. This is because a FUSE filesystem cannot
reliably call itself recursively without deadlocking, especially in
single-threaded mode.
+.TP
+.B \-\-resolved\-symlink\-deletion=\fIpolicy\fP, \-o resolved\-symlink\-deletion=\fIpolicy\fP
+If \fB\-\-resolve\-symlinks\fP is enabled, decides what happens when a resolved
+symlink is deleted. The options are: \fBdeny\fP (resolved symlinks cannot be
+deleted), \fBsymlink-only\fP (the underlying symlink is deleted, its target is
+not), \fBsymlink-first\fP (the symlink is deleted, and if that succeeds,
+the target is deleted but no error is reported if that fails) or
+\fBtarget-first\fP (the target is deleted first, and the symlink is deleted
+only if deleting the target succeeded). The default is \fBsymlink-only\fP.
+
+Note that deleting files inside symlinked directories is always possible with
+all settings, including \fBdeny\fP, unless something else protects those files.
+
.SH MISCELLANEOUS OPTIONS