summaryrefslogtreecommitdiff
path: root/internal/contentenc/bpool.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-09 02:33:06 +0100
committerJakob Unterwurzacher2019-01-09 20:48:00 +0100
commitfcaca5fc94d981aa637beb752edc8cb3c2265e96 (patch)
tree4e834239e99528239e60fc4ef50d5ae2186fcc69 /internal/contentenc/bpool.go
parentaae45b4d77082c8bd54575eaf7b48794d8d53e9e (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 'internal/contentenc/bpool.go')
0 files changed, 0 insertions, 0 deletions