Insufficient permission to manipulate /usr/local/bin
See original GitHub issueRancher Desktop Version
0.7.1
Rancher Desktop K8s Version
1.21.7 (stable)
What operating system are you using?
macOS
Operating System / Build Version
macOS Monterey 12.1
What CPU architecture are you using?
arm64 (Apple Silicon)
Windows User Only
No response
Actual Behavior
In Rancher Desktop, Supporting Utilities I have the error Insufficient permission to manipulate /usr/local/bin: Error: EACCES: permission denied, access '/usr/local/bin'
and the box next to each supporting utility is greyed out.

This affects only installing supporting utilities from Rancher Desktop. All other functions of Rancher Desktop seem to be working as expected. The utilities work and can interact with the running Kubernetes instance when installed any other way.
Steps to Reproduce
This is a new laptop, first time configuration.
I downloaded Rancher.Desktop-0.7.1.aarch64.dmg from the releases page, opened it, dragged “Rancher Desktop.app” into Applications, and launched it.
It went through the first-time Kubernetes download without issue. Quitting and re-opening Rancher Desktop has not made any difference.
Result

Logs attached in case they’re helpful. background.log images.log k3s.log k8s.log lima.ha.stderr.log lima.ha.stdout.log lima.log lima.serial.log
Expected Behavior
I expect the Supporting Utilities tab of Rancher Desktop to be able to install the supporting utilities it lists.
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:27
- Comments:43 (10 by maintainers)
I agree that
usr/local/bin
should be owned by root. My workaround is to runthen I can check the checkboxes in rancher desktop, and I restore the root owner:
@spuder The problem is the
/usr/local/bin
no longer exists, or is not owned by yourself. You can fix that by running the following commands in a terminal:The first
sudo
command will prompt you for your password. Once the directory exists, and is writable by you, RD should be able to create the symlinks.