Open ydirson opened 1 year ago
can't reproduce in my enviroment
$ fuse-overlayfs --version fuse-overlayfs: version 1.10 FUSE library version 3.13.0 using FUSE kernel interface version 7.38 fusermount3 version: 3.13.0
Just noticed the same in the case where I tried to mount an overlayfs from user space onto the nix store in NixOS which is read-only by default.
As a workaround, I run the filesystem as root. I wonder why this is necessary in the current implementation. Definitely unexpected behaviour imo.
Context: trying to remaster an ISO by just fuse-mounting and modifying the overlay to generate a new ISO, without doing useless file copies.
fuseiso
gives me a filesystem where all files appear as readonly (and even owned by root).There should be no reason to be unable to replace such a file in an overlay, but something seems to just prevent it:
This can be worked around by adding updated files manually in upper dir, but it kinda defeats the purpose in the general case :)