Skip to content
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

Allow on the fly conversion to writeable file #15

Open
dedmen opened this issue Sep 8, 2019 · 1 comment
Open

Allow on the fly conversion to writeable file #15

dedmen opened this issue Sep 8, 2019 · 1 comment

Comments

@dedmen
Copy link
Member

dedmen commented Sep 8, 2019

if (wantsWrite && !(node is IPboFsRealObject))
return DokanResult.AccessDenied;

Let's say we edit a script file and press save, currently it's access denied, even though dokanPbo could make the directory writeable, and create a writeable copy of the file and then use that.

@dedmen
Copy link
Member Author

dedmen commented Sep 8, 2019

Then we can also strip the "Readonly" prop from pbo files.
But we have to keep it on virtual pbo files like debin config.

We might not immediately want to convert once someone opens a file as writeable.
We only really need to do it once the actual write is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant