diff options
author | Sebastian Lackner | 2019-01-09 02:33:06 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-01-09 20:48:00 +0100 |
commit | fcaca5fc94d981aa637beb752edc8cb3c2265e96 (patch) | |
tree | 4e834239e99528239e60fc4ef50d5ae2186fcc69 /golint.bash | |
parent | aae45b4d77082c8bd54575eaf7b48794d8d53e9e (diff) |
fusefrontend: -allow_other: set file mode after chown in Mkdir().
Make sure that the directory belongs to the correct owner before users
can access it. For directories with SUID/SGID mode, there is a risk of
race-conditions when files are created before the correct owner is set.
They will then inherit the wrong user and/or group.
See https://github.com/rfjakob/gocryptfs/issues/327 for more details.
Diffstat (limited to 'golint.bash')
0 files changed, 0 insertions, 0 deletions