You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo: /private/etc/sudoers.d/10-nix-darwin-extra-config is owned by uid 501, should be 0
How can I avoid typing commands like the following? I'm just managing macOS installed on an external hard drive. This issue is related to Apple and money. 😅
sudo chown -R root:wheel /nix/var/nix/db
sudo chown -R $USER:staff /nix/store
The text was updated successfully, but these errors were encountered:
#888 should mean that that file won't exist unless you have the security.sudo.extraConfig option set.
But it never should have been owned by you instead of root anyway, since it uses environment.etc internally. Sounds like an issue with external drives rather than this specific file
In both problematic and non-problematic Macs, the two files do not exist. If I were in this situation, what should I add to the security.sudo.extraConfig option to resolve the issue? Reinstalling does not fix the problem, as it persists every time.
I'm not exactly sure what your issue is, but if you update nix-darwin and don't have the security.sudo.extraConfig set to anything, that file should disappear
hello.
sudo: /private/etc/sudoers.d/10-nix-darwin-extra-config is owned by uid 501, should be 0
How can I avoid typing commands like the following? I'm just managing macOS installed on an external hard drive. This issue is related to Apple and money. 😅
sudo chown -R root:wheel /nix/var/nix/db
sudo chown -R $USER:staff /nix/store
The text was updated successfully, but these errors were encountered: