mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #662] When use uid,gid,umask mount bucket, the permission don't take effect #376
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#376
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nelson-zhong on GitHub (Oct 18, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/662
When i use umask parameter to mount bucket, ( -o uid=1001 -o gid=1001 -o umask=277), the file and directory permission display 500 (dr-x------, r-x------) from OS , but when i use this user (uid=1001) to create,delete file and directory successful. Normally, umask=277 , don't have write privilege. why i can create and delete?
s3fs version 1.82, fuse version 2.9.2-7,
@ggtakec commented on GitHub (Nov 5, 2017):
@nelson-zhong
The creating/deleting files depend on the permissions of the directory storing those files.
That is, when creating "parent/newfile", it depends on the permissions of the "parent" directory.
Please check the permissions of the parent directory of the file you tried to create.
If the parent directory is 500, I think you can not create the file.
If the parent directory is a mount point and you want to change the permissions, you can use the mp_umask option to control it.
Regards,