diff options
author | Jakob Unterwurzacher | 2021-05-08 17:17:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-05-15 17:58:37 +0200 |
commit | 86d8336b43418c028c34c37f06fcbd43ab0d44a1 (patch) | |
tree | 571dfa970a43938587496ac63b95a17060c8df80 /mount.go | |
parent | a91ad29d362e8cb5348766da637202ac8905b9f2 (diff) |
Add -acl flag to enable ACL enforcement
With test to verify that it actually works this
time: Run "make root_test".
Depends-on: https://github.com/rfjakob/gocryptfs/issues/536
Fixes: https://github.com/rfjakob/gocryptfs/issues/536
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -396,6 +396,9 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server { // Make the kernel check the file permissions for us mOpts.Options = append(mOpts.Options, "default_permissions") } + if args.acl { + mOpts.EnableAcl = true + } if args.forcedecode { tlog.Info.Printf(tlog.ColorYellow + "THE OPTION \"-forcedecode\" IS ACTIVE. GOCRYPTFS WILL RETURN CORRUPT DATA!" + tlog.ColorReset) |