mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #504] 只给账户文件上传和读取权限,不能删除文件 #287
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 @amricesun on GitHub (Dec 20, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/504
如题,只给账户文件上传和读取权限,目前好像没法实现?如果给予rw权限,则用户具备删除文件权限,请问此部分有什么方法来实现呢
@sigoden commented on GitHub (Dec 20, 2024):
Sorry, No way.
@yuf19-2022 commented on GitHub (Dec 20, 2024):
可能因为如果允许新增而不允许删除、移动就很鸡肋,不可能错了就要找管理员那多麻烦,最好就是不同用户管不同的目录,别人的目录最多只能查看
@yuf19-2022 commented on GitHub (Dec 25, 2024):
不对当时没注意有个--allow-delete权限