-
Notifications
You must be signed in to change notification settings - Fork 85
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
"Operation not permitted" when trying to open file for write #428
Comments
ovl_tst.tar.gz |
Found the problem: fuse-overlayfs |
In fact, the ownership is propagated |
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 bet the write request doesn't even |
Got things working with this hack:
|
Would you be able to send a pull request? |
This patch is definitely wrong, it can't |
Its not like I don't care about an |
It would be good if this could be fixed properly by the maintainer of this repo, so that it would be fixed for everyone. Thanks! |
This may be related to #232 but I prepared
a ready-to-use test-case, it is attached:
fuse_test.AppImage.gz
After you gunzip it, you'll get the AppImage
file called
fuse_test.AppImage
.All it does is mounts the read-only lower
dir and the writable upper dir into the
mount-point. Then it does
test -r
andtest -w
to check if the file is actuallyreadable and writable. Unfortunately its
not writable, in which case it prints the
failure message and also prints
mount | grep fuse
that allows you to inspect the mount params.
In fact, its not like the entire dir is not writable -
it IS writable. You can create new files there.
But the files that come from the lower dir,
are themselves not writable for some unclear
reason.
I also added the
--debug
option for you.With that option
fuse-overlayfs
is startedwith
-d
and you can see the logging.I also added the
--keep
option which justmounts the dirs, prints the mount point
and exits without doing any checks and
without unmounting. This may be needed
if you want to work with the mount-point
by hands.
I hope this test-case will help to narrow
down the problem.
The text was updated successfully, but these errors were encountered: