[GH-ISSUE #698] Support for file ACL (setfacl, getfacl) setfacl: filename: Operation not supported #393

Closed
opened 2026-03-04 01:45:07 +03:00 by kerem · 5 comments
Owner

Originally created by @melaraj2 on GitHub (Dec 13, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/698

Is there any planned support for file ACLs? Currently I get this error when I try to setfacl on files in the mounted folder:

setfacl: filenam: Operation not supported

Originally created by @melaraj2 on GitHub (Dec 13, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/698 Is there any planned support for file ACLs? Currently I get this error when I try to setfacl on files in the mounted folder: setfacl: filenam: Operation not supported
kerem closed this issue 2026-03-04 01:45:07 +03:00
Author
Owner

@ggtakec commented on GitHub (Jan 21, 2018):

@melaraj2 You can specify use_xattr option at start s3fs.
Please try it.
Thanks in advance for your assistance.

<!-- gh-comment-id:359220804 --> @ggtakec commented on GitHub (Jan 21, 2018): @melaraj2 You can specify use_xattr option at start s3fs. Please try it. Thanks in advance for your assistance.
Author
Owner

@gaul commented on GitHub (Jan 26, 2019):

@melaraj2 Did you try testing with a newer version of s3fs and -o use_xattr?

<!-- gh-comment-id:457786471 --> @gaul commented on GitHub (Jan 26, 2019): @melaraj2 Did you try testing with a newer version of s3fs and `-o use_xattr`?
Author
Owner

@gaul commented on GitHub (Jul 11, 2019):

Please reopen if the latest version 1.85 does not resolve your symptoms.

<!-- gh-comment-id:510293183 --> @gaul commented on GitHub (Jul 11, 2019): Please reopen if the latest version 1.85 does not resolve your symptoms.
Author
Owner

@AgrawalAmey commented on GitHub (Sep 24, 2020):

@ggtakec @gaul I was trying to use the ACLs with s3fs, after enabling use_xattr, setfacl and getfacl are working fine, but looks like these values are not getting used in actually resolving the permissions. For example, if Alice has a file foo with permissions 700, if we give rwx access to Bob using setfacl, the correct permissions would show up in getfacl. But if I try to cat the file as user Bob, it fails with "Operation not permitted" error. I am also setting allow_otheroption.

<!-- gh-comment-id:698414882 --> @AgrawalAmey commented on GitHub (Sep 24, 2020): @ggtakec @gaul I was trying to use the ACLs with s3fs, after enabling `use_xattr`, `setfacl` and `getfacl` are working fine, but looks like these values are not getting used in actually resolving the permissions. For example, if Alice has a file foo with permissions `700`, if we give `rwx` access to Bob using `setfacl`, the correct permissions would show up in `getfacl`. But if I try to cat the file as user Bob, it fails with "Operation not permitted" error. I am also setting `allow_other`option.
Author
Owner

@abhilashck72 commented on GitHub (Nov 12, 2021):

Any solution for this. I am also facing same issue,,without giving 777 it wont work. use_xattr is able to set permission, but it never works in actual operation.

<!-- gh-comment-id:967241112 --> @abhilashck72 commented on GitHub (Nov 12, 2021): Any solution for this. I am also facing same issue,,without giving 777 it wont work. use_xattr is able to set permission, but it never works in actual operation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#393
No description provided.