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
Firefox can't save a file to the root of a MEMFS mount. #551
Comments
I do not have Firefox, but I have the Tor Browser which I believe is based on Firefox. I just created a file system using Some questions:
|
Hey there, @billziss-gh. Thank you for quick response :) Assuming memfs is in our path and we're currently in our home: Both Firefox and memfs are launched with standard privileges: No elevation. The output of cacls is as follows: If I mount to a drive letter, the download succeeds. Output of cacls for a drive-letter mount as follows: Kind regards, |
Hey @billziss-gh, If it helps, these are the i?cacls outputs for my filesystem. In this example, I've created two mounts: One is a "directory-mount" and the other is a "drive-mount." I can successfully download to the "drive-mount" but not to the "directory-mount"
Kind regards, |
Bug Report
Hey there!
I've been working on a WinFSP-based filesystem and found that Firefox was unable to save a file to the root of my mount. After a lot digging through logs, I found myself without any answers so I decided to perform the same test using the MEMFS example filesystem provided with WinFSP.
MEMFS seems to suffer from the same problem: When you try and download any file to the root of a filesystem, Firefox reports a "permissions error" although from the logs, I can't see exactly why.
If you save a file to a subdirectory of the root, everything works expected.
Interestingly, if you create a network mount that's mapped to some drive letter, everything works as expected, too.
I'm not really sure how to proceed with this issue so I figured I'm come to the source :)
Kind regards,
Dave Ward
How to Reproduce
You can reproduce the issue quite easily.
For comparison, try the above with a network mount (where the file will download without issues) or in a subdirectory of the mount (which will always work.)
Behaviors
The expected behavior is that we can download a file to the root of a mount.
Actual behavior is that Firefox reports permissions failures.
Environment
Windows 10.0.19045 Build 19045
WinFSP 2023
The text was updated successfully, but these errors were encountered: