Sergey Zhukov zhus
zhus opened issue sigoden/dufs#2206 2026-04-11 17:13:12 +03:00
[GH-ISSUE #330] "--allow-delete" may cover "--allow-edit".
zhus closed issue sigoden/dufs#2206 2026-04-11 17:13:12 +03:00
[GH-ISSUE #330] "--allow-delete" may cover "--allow-edit".
zhus opened issue sigoden/dufs#2207 2026-04-11 17:13:12 +03:00
[GH-ISSUE #326] docker部署后使用http put上传文件的问题
zhus opened issue sigoden/dufs#2208 2026-04-11 17:13:12 +03:00
[GH-ISSUE #327] Unable to serve files with embedded new lines
zhus closed issue sigoden/dufs#2207 2026-04-11 17:13:12 +03:00
[GH-ISSUE #326] docker部署后使用http put上传文件的问题
zhus closed issue sigoden/dufs#2208 2026-04-11 17:13:12 +03:00
[GH-ISSUE #327] Unable to serve files with embedded new lines
zhus commented on issue sigoden/dufs#2206 2026-04-11 17:13:12 +03:00
[GH-ISSUE #330] "--allow-delete" may cover "--allow-edit".

@sigoden commented on GitHub (Dec 29, 2023):

There is no --allow-edit policy. But editing operations do require the --allow-upload/--allow-delete

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@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?

zhus commented on issue sigoden/dufs#2205 2026-04-11 17:13:11 +03:00
[GH-ISSUE #318] Stopping ZIP file download breaks application

@sigoden commented on GitHub (Dec 13, 2023):

Unable to reproduce the error.

https://github.com/sigoden/dufs/assets/4012553/0c22a743-39fd-43ac-9908-53b51c6b6871…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@sigoden commented on GitHub (Dec 21, 2023):

Have you read the dufs readme? dufs can set permissions for paths. @jessehu

![image](https://github.com/sigoden…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@jessehu commented on GitHub (Dec 21, 2023):

This solution requires restarting dufs for each file to be locked and unlocked. Not easy to use.

zhus commented on issue sigoden/dufs#2205 2026-04-11 17:13:11 +03:00
[GH-ISSUE #318] Stopping ZIP file download breaks application

@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…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@sigoden commented on GitHub (Dec 21, 2023):

dufs is a stateless file server and does not support file dynamic locking.

zhus commented on issue sigoden/dufs#2205 2026-04-11 17:13:11 +03:00
[GH-ISSUE #318] Stopping ZIP file download breaks application

@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…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@jessehu commented on GitHub (Dec 21, 2023):

I see. Just wondering if it can be archieved by:

  1. Is it possible to ignore deleting a file if its file mode is…
zhus commented on issue sigoden/dufs#2205 2026-04-11 17:13:11 +03:00
[GH-ISSUE #318] Stopping ZIP file download breaks application

@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…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@sigoden commented on GitHub (Dec 21, 2023):

The only way I recommend to protect files is through auth. Other methods are error prone.

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@jessehu commented on GitHub (Dec 22, 2023):

Thanks. I tried the solution 1 and works well: ![图片](https://github.com/sigoden/dufs/assets/10006/e5b61fa6-95e2-4…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@sigoden commented on GitHub (Dec 22, 2023):

This solution is also error prone.

Here is the doc for std::fs::Permissions: ![image](https://github.com/sigode…

zhus commented on issue sigoden/dufs#2204 2026-04-11 17:13:11 +03:00
[GH-ISSUE #324] Support locking a file to prevent from deleting/moving

@jessehu commented on GitHub (Dec 22, 2023):

Yup, it depends on which user used to run dufs, and this is controlled by the user who runs dufs.