diff options
author | Jakob Unterwurzacher | 2023-05-18 10:14:21 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-05-18 10:14:21 +0200 |
commit | c67454464aaabec7c594eeb84983287057ab4231 (patch) | |
tree | 937d457a73d15f5b79e211fcb6b56c3a23006e92 /tests/cli | |
parent | 09954c4bdecf0ca6da65776f176dc934ffced2b0 (diff) |
tests: TestDirectMount: check for default_permissions
Diffstat (limited to 'tests/cli')
-rw-r--r-- | tests/cli/directmount_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cli/directmount_test.go b/tests/cli/directmount_test.go index 3e23e6a..7ecbf80 100644 --- a/tests/cli/directmount_test.go +++ b/tests/cli/directmount_test.go @@ -74,6 +74,8 @@ func TestDirectMount(t *testing.T) { } checkOptionPresent(t, info.VFSOptions, "max_read=", true) checkOptionPresent(t, info.VFSOptions, "allow_other", row.allow_other) + // gocryptfs enables default_permissions when allow_other is enabled + checkOptionPresent(t, info.VFSOptions, "default_permissions", row.allow_other) checkOptionPresent(t, info.Options, "noexec", row.noexec) // Enabling suid and dev only works as root if os.Getuid() == 0 { |