Merge pull request #1143 from gaul/doc/umask

Document umask flag
This commit is contained in:
Takeshi Nakatani 2019-09-08 19:49:58 +09:00 committed by GitHub
commit e51361cb94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -226,6 +226,11 @@ If allow_other option is not set, s3fs allows access to the mount point only to
In the opposite case s3fs allows access to all users as the default. In the opposite case s3fs allows access to all users as the default.
But if you set the allow_other with this option, you can control the permissions of the mount point by this option like umask. But if you set the allow_other with this option, you can control the permissions of the mount point by this option like umask.
.TP .TP
\fB\-o\fR umask (default is "0000")
sets umask for files under the mountpoint. This can allow
users other than the mounting user to read and write to files
that they did not create.
.TP
\fB\-o\fR nomultipart - disable multipart uploads \fB\-o\fR nomultipart - disable multipart uploads
.TP .TP
\fB\-o\fR enable_content_md5 (default is disable) \fB\-o\fR enable_content_md5 (default is disable)

View File

@ -1290,6 +1290,11 @@ void show_help ()
" this option, you can control the permissions of the\n" " this option, you can control the permissions of the\n"
" mount point by this option like umask.\n" " mount point by this option like umask.\n"
"\n" "\n"
" umask (default is \"0000\")\n"
" - sets umask for files under the mountpoint. This can allow\n"
" users other than the mounting user to read and write to files\n"
" that they did not create.\n"
"\n"
" nomultipart (disable multipart uploads)\n" " nomultipart (disable multipart uploads)\n"
"\n" "\n"
" enable_content_md5 (default is disable)\n" " enable_content_md5 (default is disable)\n"