Stas Sergeev

Results 1141 comments of Stas Sergeev

So what's the status of this?

You can get it to work on ms-dos 6.22 by adding this to dosemu2 command line: `COMSPEC=E:\command.com`. The problem is described here: https://www.sosoft.com/fod/fod_986.htm but I wasn't able to apply their...

[ovl_tst.tar.gz](https://github.com/user-attachments/files/16493252/ovl_tst.tar.gz) Here's the completely trivial test-case that doesn't even involve AppImage. Just a trivial script. It mounts the archive with `archivemount` and then adds a writable overlay. The very interesting...

Found the problem: fuse-overlayfs doesn't make the files writable if in the lowerdir they belong to another user.

In fact, the ownership is propagated from lowerdir to the mountpoint. Maybe fuse-overlayfs should set the ownership to the mount owner, and ignore the ownership in the lowerdir?

> I think what should be done is to do copy-on-write under the user running fuse-overlayfs while not caring > about the user of the file in the lowerdir? I...

Got things working with this hack: ``` diff --git a/main.c b/main.c index b5753db..58836c8 100644 --- a/main.c +++ b/main.c @@ -971,8 +971,8 @@ rpl_stat (fuse_req_t req, struct ovl_node *node, int fd,...

This patch is definitely wrong, it can't be sent as a PR. I'll simply add the hacked-up fuse-overlayfs to my AppImage, and things are good.

Its not like I don't care about an upstream version, but fuse-overlayfs has quite a lot of uid mapping and overriding modes which I am not aware about. Maybe enabling...