@sigoden commented on GitHub (Dec 29, 2023):
There is no --allow-edit policy.
But editing operations do require the --allow-upload/--allow-delete…
@jessehu commented on GitHub (Dec 21, 2023):
do you mean setting read-only permission for a single file via 'chmod 400'? Can it be done on dufs UI?
@sigoden commented on GitHub (Dec 13, 2023):
Unable to reproduce the error.
https://github.com/sigoden/dufs/assets/4012553/0c22a743-39fd-43ac-9908-53b51c6b6871…
@sigoden commented on GitHub (Dec 21, 2023):
Have you read the dufs readme? dufs can set permissions for paths. @jessehu
:
This solution requires restarting dufs for each file to be locked and unlocked. Not easy to use.
@mowirth commented on GitHub (Dec 13, 2023):
I checked again and it looks like the error only appears if you have a large file in this folder - in my case, the…
@sigoden commented on GitHub (Dec 21, 2023):
dufs is a stateless file server and does not support file dynamic locking.
@sigoden commented on GitHub (Dec 13, 2023):
Still unable to reproduce the error.
https://github.com/sigoden/dufs/assets/4012553/b8a8d1b5-a62b-4a0d-ab8c-146602…
@jessehu commented on GitHub (Dec 21, 2023):
I see. Just wondering if it can be archieved by:
- Is it possible to ignore deleting a file if its file mode is…
@mowirth commented on GitHub (Dec 14, 2023):
My apologies, it seems like the kubernetes port-forwarding cannot handle the broken stream and drops any further…
@sigoden commented on GitHub (Dec 21, 2023):
The only way I recommend to protect files is through auth. Other methods are error prone.
@jessehu commented on GitHub (Dec 22, 2023):
Thanks. I tried the solution 1 and works well: :
This solution is also error prone.
Here is the doc for std::fs::Permissions:
:
Yup, it depends on which user used to run dufs, and this is controlled by the user who runs dufs.