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
Programs assume files from nix store writable #55683
Comments
Have you tried just changing the files/folder owner and permission with:
|
@FlorianFranzen No. That would not solve the problem in general. |
Some developers refuse to fix such errors: "Both 1970 dates and invalid permissions are caused by NixOS being crazy, not Nikola."
Only solution I see here is that e.g. you provide a patch for the package that takes care of the file permissions. If upstream doesn't want it, it would need to be maintained in Nixpkgs.
|
That's wrong; it stems from unixfs being stupid. |
@ferdnyc has kindly provided a patch for our Nix-specific permission issue OpenShot/openshot-qt#2972. Fixes #32898. Fixes #48591. Related to #55683.
I don't believe that we can do anything about this other than reporting the issue upstream, hoping that they'll fix it (as the OpenShot developers have in d7bbcdf). If they don't want to do that, then we'll have to do it ourselves. Anyhow, would anyone object to closing this bug report? It does not seem to represent an actionable task and therefore it's to tell what to do about it. |
Could we add it to the documentation with an example? Maybe in a Troubleshooting section of the nixpkgs manual. Then others don't have to open the same issue again. |
Would you like to create a PR with a suggestion?
My guess is that others have to open a new ticket every time they run into an issue like this. There is no other way to fix them. |
No, i just can't use the documentation system. I'm waiting for the migration to Asciidoc!
OK, but it would help to have documented how to fix them. Just explain the issue in one sentence and "report the issue upstream". And when upstream don't wan to fix it, maintain a patch in nixpkgs. |
No, I don't care enough to extend the docs for this issue; please do it yourself if you believe that this is important. |
@peti sorry, i don't mean you should do it! i just argue that we should leave the issue open until the information is documented by someone. that someone might be me in half a year when writing documentation is easier and don't involve writing XML. |
Thank you for your contributions.
|
... |
I marked this as stale due to inactivity. → More info |
... |
I marked this as stale due to inactivity. → More info |
... |
Issue description
Some programs have issues on NixOS because files copied from nix store are read only.
This results in permission errors like this:
PermissionError: [Errno 13] Permission denied: '/home/davidak/.openshot_qt/title/temp.svg'
Is there any way to solve it for us or do we rely on upstream to fix it? What can we suggest them as a better way doing it?
I had this multiple times: #32898 #43685
Some developers refuse to fix such errors: "Both 1970 dates and invalid permissions are caused by NixOS being crazy, not Nikola."
The text was updated successfully, but these errors were encountered: