macos-latest: could not set permissions on '/nix/var/nix/profiles/per-user' to 755
See original GitHub issueWe are getting this error intermittently on the Invoking Nix Build step on macos-latest:
/nix/var/nix/profiles/default/bin/nix-build ci.nix
error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
##[error]Action failed with error: Error: The process '/nix/var/nix/profiles/default/bin/nix-build' failed with exit code 1
This action is running after cachix/install-nix-action@v6, and I suspect an eventual fix is there, but it manifests in this action.
I haven’t recognized a pattern yet, other than this happening ~50% of the time on macos-latest and so far not at all on ubuntu-latest.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (7 by maintainers)
Top Results From Across the Web
could not set permissions on '/nix/var/nix/profiles/per-user' to ...
Error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted. Hello. On Ubuntu 21.04 :.
Read more >Change permissions for files, folders, or disks on Mac
Change permissions for files, folders, or disks on Mac. Permission settings determine who can view and alter files on the computer. You change...
Read more >XAMPP permissions on Mac OS X? - Stack Overflow
So (a) I have to provide root password every time I copy in web content, and, more problematic, (b) NetBeans says it can't...
Read more >Permission denied in Mac Terminal? Try this fix - MacPaw
To change permissions in Terminal, do the following: Type this command followed by a space: chmod 755; Drag the file or folder onto...
Read more >MacOS Folder Insecurity errors during install - Sophos Support
It will not install if the permissions are not correct as per the table below in the ... This gives the admin group...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Will fix this in a couple of days.
I think the fix is to finally figure out how to wait for nix-daemon socket on macos.