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

/etc/nix/nix.conf exists with a different mode (644) than planned (664) #1324

Open
zachauten opened this issue Nov 29, 2024 · 3 comments
Open

Comments

@zachauten
Copy link

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `place_nix_configuration` errored
   4: Action `create_or_merge_nix_config` errored
   5: `/etc/nix/nix.conf` exists with a different mode (644) than planned (664), consider updating it with `chmod 664 /etc/nix/nix.conf` (you may need to do this recursively with the `-R` flag)

Metadata

key value

|

@zachauten
Copy link
Author

Trying to install on WSL, Windows 11

@cole-h
Copy link
Member

cole-h commented Dec 2, 2024

If you do the suggestion in the error message, does that allow you to get further in the install process?

@cole-h cole-h changed the title <autogenerated-issue> /etc/nix/nix.conf exists with a different mode (644) than planned (664) Dec 2, 2024
@zachauten
Copy link
Author

I do think changing the permissions was part of the solution. I don't remember if that's the only thing I had to do, sorry. I did end up getting it working, I just opened this issue because the error message prompted me to and I thought it might be helpful. Feel free to close it!

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

No branches or pull requests

2 participants