summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/xattr_unit_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-05-01 23:30:53 +0200
committerJakob Unterwurzacher2018-05-01 23:30:53 +0200
commitfe3890688a693fbfa900e32b05e10861fa4167ba (patch)
treeef006459eee4f7a0d0eb6f0231ddad32cc3bad43 /internal/fusefrontend/xattr_unit_test.go
parent996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef (diff)
fusefrontend: xattr: return ENOSYS on unsupported flags
We previously returned EPERM to prevent the kernel from blacklisting our xattr support once we get an unsupported flag, but this causes lots of trouble on MacOS: Cannot save files from GUI apps, see https://github.com/rfjakob/gocryptfs/issues/229 Returning ENOSYS triggers the dotfiles fallback on MacOS and fixes the issue.
Diffstat (limited to 'internal/fusefrontend/xattr_unit_test.go')
0 files changed, 0 insertions, 0 deletions