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 {