-
Notifications
You must be signed in to change notification settings - Fork 56
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
cannot enter subdirs of overlayed dwarfs #204
Comments
Thanks for your report, @cipitaua! Nice catch, this is indeed a bug in how DwarFS implements the I've got a fix for the issue locally, but I'll need to double check and run a few tests before pushing a new release. |
Thank you for the prompt reply. What's not clear is why I've encountered the bug only in this case but never before, although I've used dwarfs in this way (with overlay) a lot of times for over one year, starting with dwarfs version 0.6.9. Also it's not clear to me whether the bug is in the archive.dwarfs I have produced, or it is in the mount.dwarfs code. |
any hint? |
Sorry, I completely missed your reply.
That is a very good question. Here's some more detail: The bug that I found and that seems to cause this particular problem is in DwarFS' implementation of the This obviously has nothing to do directly with overlaying file systems. However, since the overlay mount is run as Now this raises a bunch of questions:
So, unfortunately, I can't provide a definitive answer to your question.
Your |
I see. However I'm using many dwarfs archives with overlay and only that one has 'access' problems. |
Maybe the directory permissions are different for your other archives?
I assume that if the directory was world-executable, you wouldn't run into the problem. |
@cipitaua, did you check the directory permissions in your other archives by any chance? |
yes, sorry I forgot to answer. By setting the usual permission rwxr-xr-x to folders, the newly created dwarfs works as expected 👍 |
Thanks! I'll nonetheless roll a new release with the fix in the next couple of days. |
Fixed in v0.9.7. |
Hello,
I've made a dwarfs of a folder named archive.orig, and mounted it as
and then I've overlayed it:
with no warning or errors.
However, when I try to access the files in a subdir of 'archive':
although:
I also note that if I overlay directly the 'archive.orig':
then I can access 'archive' subfolders normally. Therefore I guess it could be related to dwarfs.
Any idea?
The text was updated successfully, but these errors were encountered: