mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #594] RO functionality for subdirectory. #357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WinnerWind on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/594
Specific Demand
I have a directory aptly titled
Diary. I want it to be accessible only to theDiaryuser. This includes reading only. However, I want the entire tree to be accessible to everyone.Implement Suggestion
dufs --port 8081 --allow-search -a diary:diary@/Diary:ro -a @/should make/accessible to all users but/Diaryaccessible only after a login.@sigoden commented on GitHub (Jul 8, 2025):
In dufs, the auth user's configuration will merge with the anonymous user's configuration.
-a diary:diary@/Diary:ro=>-a diary:diary@/Diary:ro,/:ro=>-a diary:diary@/:ro@WinnerWind commented on GitHub (Jul 8, 2025):
Hey @sigoden,
I am afraid that I do not understand what you mean. What are you suggesting I do?
@sigoden commented on GitHub (Jul 8, 2025):
Dufs does not support permissions that allow displaying only the directory tree (file structure) without granting access to the file contents. Please try other software.
@WinnerWind commented on GitHub (Jul 8, 2025):
Oh. Thanks for clarifying!