-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加只读挂载功能 #5721
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
See
|
在元信息里可以实现类似的权限控制吧 |
只读的话单独添加个用户,把权限调一下不是也可以? |
是的,这样应该也能实现你的需求 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again. |
Description of the feature / 需求描述
很多时候只是需要读取文件,并不需要修改文件,允许只读挂载可以防止意外修改或删除文件,同时增加安全性。虽然读写权限可以分用户指定,但增加只读挂载显然更方便,而且很多情况是管理员也只是想读取文件而已。
Suggested solution / 实现思路
配置存储时增加一个选项勾选是否只读,对文件进行修改/删除/移动/改名等操作时检测当前存储是否为只读挂载,如果是则禁止修改。
The text was updated successfully, but these errors were encountered: