-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[2.20.5 regression] nix eval
fails with '/etc/nixos': ... is not owned by current user
#10202
Comments
Currently working it around with |
Yes, that's very likely a consequence of https://nvd.nist.gov/vuln/detail/CVE-2022-24765 from the Git side. We could probably specify the path to the git repo explicitly to disable that check when we know it's safe (and once #6464 is merged 😒 ) |
I suspect I hit the same issue after updating. Same nix version (2.20.5) but I am using a flake repo in my home directory to manage my NixOS machine.
|
I can think of two workarounds for
Still waiting for a proper solution. |
Triaged in Nix team meeting:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-27-nix-team-meeting-134/42961/1 |
Describe the bug
After
NixOS
upgraded tonix-2.20.5
some evals ran as user started failing as:These used to work. Runing a
sudo
works as expected (but I think it's a needless constraint):Permissions and IDs:
nix-env --version
output: nix-env (Nix) 2.20.5Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: