diff options
author | Jakob Unterwurzacher | 2018-05-01 23:30:53 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-05-01 23:30:53 +0200 |
commit | fe3890688a693fbfa900e32b05e10861fa4167ba (patch) | |
tree | ef006459eee4f7a0d0eb6f0231ddad32cc3bad43 /internal/pathiv/pathiv.go | |
parent | 996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef (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/pathiv/pathiv.go')
0 files changed, 0 insertions, 0 deletions