mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 15:59:03 +03:00
[GH-ISSUE #709] 支持不同用户设置不同的 serve-path #8104
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 @EdenHell on GitHub (May 20, 2026).
Original GitHub issue: https://github.com/sigoden/dufs/issues/709
Specific Demand
举例来说,所有用户默认使用全局 serve-path,比如 /data。
但可以针对个别用户使用不同的 serve-path,比如 userA 使用 /data/videos
这跟 hidden 参数是不一样的效果。比如为某个用户分享非常深的路径,他是看不到父目录名的。
Implement Suggestion
需要修改 -a 参数,下面只是举例。
@sigoden commented on GitHub (May 20, 2026):
We will not support this feature.
Your problem should be solved by properly designing the se directory structure and setup auths.
@EdenHell commented on GitHub (May 20, 2026):
那很可惜了。修改已有的目录结构无疑是个比较重的操作,不够灵活。同类软件也有这个功能。
@sigoden