forked from rpms/openssh
Clarify documentation about sftp-server -m (#1862504)
This commit is contained in:
parent
68460c09bb
commit
77aa771110
@ -9,14 +9,15 @@ diff -up openssh-7.2p2/sftp-server.8.sftp-force-mode openssh-7.2p2/sftp-server.8
|
|||||||
.Ek
|
.Ek
|
||||||
.Nm
|
.Nm
|
||||||
.Fl Q Ar protocol_feature
|
.Fl Q Ar protocol_feature
|
||||||
@@ -138,6 +139,10 @@ Sets an explicit
|
@@ -138,6 +139,11 @@ Sets an explicit
|
||||||
.Xr umask 2
|
.Xr umask 2
|
||||||
to be applied to newly-created files and directories, instead of the
|
to be applied to newly-created files and directories, instead of the
|
||||||
user's default mask.
|
user's default mask.
|
||||||
+.It Fl m Ar force_file_perms
|
+.It Fl m Ar force_file_perms
|
||||||
+Sets explicit file permissions to be applied to newly-created files instead
|
+Sets explicit file permissions to be applied to newly-created files instead
|
||||||
+of the default or client requested mode. Numeric values include:
|
+of the default or client requested mode. Numeric values include:
|
||||||
+777, 755, 750, 666, 644, 640, etc. Option -u is ineffective if -m is set.
|
+777, 755, 750, 666, 644, 640, etc. The umask is not used for uploaded files
|
||||||
|
+ if -m is set, but it is still applied on directories.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
On some systems,
|
On some systems,
|
||||||
|
Loading…
Reference in New Issue
Block a user