[GH-ISSUE #533] [Feature Request] No access ACL #307

Closed
opened 2026-04-08 16:51:54 +03:00 by zhus · 1 comment
Owner

Originally created by @ogarcia on GitHub (Jan 27, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/533

Specific Demand

Imagine this situation, with dufs I share a directory with a tree similar to the following:

stuff
+- some.file.txt
+- some_dir
+- other_dir
+- ultrasecret

By making this directory public any user can access some.file.txt, some_dir, other_dir and ultrasecret, but imagine I want to keep the ultrasecret subdirectory for only a specific user, right now it is not possible.

Implement Suggestion

It would be interesting to have the na (no access) option or something similar for ACLs so that it is possible to launch dufs in this way:

dufs -A -a admin:admin@/:rw -a @/,/ultrasecret:na

This way only the admin user would be able to access ultrasecret and the rest of the users that access anonymously would not.

Originally created by @ogarcia on GitHub (Jan 27, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/533 ## Specific Demand Imagine this situation, with dufs I share a directory with a tree similar to the following: ``` stuff +- some.file.txt +- some_dir +- other_dir +- ultrasecret ``` By making this directory public any user can access `some.file.txt`, `some_dir`, `other_dir` and `ultrasecret`, but imagine I want to keep the `ultrasecret` subdirectory for only a specific user, right now it is not possible. ## Implement Suggestion It would be interesting to have the `na` (no access) option or something similar for ACLs so that it is possible to launch dufs in this way: ``` dufs -A -a admin:admin@/:rw -a @/,/ultrasecret:na ``` This way only the admin user would be able to access `ultrasecret` and the rest of the users that access anonymously would not.
zhus closed this issue 2026-04-08 16:51:54 +03:00
Author
Owner

@sigoden commented on GitHub (Jan 27, 2025):

We will not make the ACL more complicated.

You need to re-arrange your directory (using symlink), you may want to use other software.

<!-- gh-comment-id:2615215249 --> @sigoden commented on GitHub (Jan 27, 2025): We will not make the ACL more complicated. You need to re-arrange your directory (using symlink), you may want to use other software.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#307