-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACLs not working in allow_other mode? #542
Comments
I noticed that one of the latest changelogs mentioned ACL support was working so after a year or more of abandoning this as a solution I decided to give this a try again. I was similarly confused that I could set ACLs but they didn't seem to make any difference for permission checks. I have to chown or chmod --7. Anything less than 7 (rwx) will not allow me to access the files when not an owner.. even 6 (rw). Granting permission using setfacl seems to work and getfacl shows what I expect, but it does not affectively grant permissions. I tried this on Beta2 as well. Seems really fast. |
Hmm. From man fuse:
Maybe we don't signal ACL support correctly. Will check. |
Closing in favor of older ticket #536 |
I must apologise for the changelog entry "Enable ACL support". ACL support is very incomplete, and I have added a warning to this changelog entry now:
I'm working on getting this fixed. |
Since
allow_other
setsdefault_permissions
, which according toman fuse
does not honour ACLs - does this mean ACLs are also broken for gocryptfs when usingallow_other
?AFAIK the fuse kernel module can check ACLs in newer kernels (since 4.9?) when the file system registers as ACL supporting. This seems to be implemented in libfuse3. But since gocryptfs uses go-fuse, I don't know if it is implemented there as well.
In my setup it looks like ACLs are visible for tools, but not honoured for permission checks.
Could you clarify the state of ACL support and if this might be improved in the 2.0 rewrite?
The text was updated successfully, but these errors were encountered: