Improve user experience around symlinks for supporting utilities
See original GitHub issueFor bugs, describe what you’re seeing
RD does not recognize the clients apps, such as nerdctl
, kubectl
, helm
…
To Reproduce Steps to reproduce the behaviour:
- Open RD
- Navigate to
Supporting Tools
- Tools checkboxes not enabled.
Result Supporting tools not found (not linked).
Expected behaviour Should link supporting tools properly.
Screenshots
Setup (please complete the following information):
- OS:
macOS Monterey
- Rancher Desktop version:
0.6.0
- Kubernetes version:
1.21.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Unlock the Power of Symbolic Links - ChrisWrites.com
Firstly, you can use symbolic links to point at any item, including command line utilities and apps that don't properly recognise aliases.
Read more >Syncing symbolic links as reference #250 - nextcloud/desktop
Currently when I add a symlink inside my Nextcloud folder it doesn't sync because "Symbolic links are not supported in syncing".
Read more >What are Symbolic Links? Hard & Soft Symbolic ... - Komprise
Symbolic Links are file-system objects that point toward another file or folder. Learn more about how hard & soft symbolic links are used...
Read more >Link Shell Extension (LSE)
The extension allows the user to select one or many files or folders, then using the mouse, complete the creation of the required...
Read more >How to Find and Fix Broken Symlinks in Linux - MakeUseOf
Broken symbolic links can lead to performance problems in Linux. Here's how to find and fix broken symlinks.
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
I too am having a similar issue. I have a fresh laptop with Big Sur installed. I used the ‘.dmg’ as my install source.
I see the following after starting up Rancher Desktop.
So to get around this I added my user account to the wheel group and changed the permissions on the /usr/local/bin directory to 775, giving group wheel write perms into that directory. This allowed the installation to complete successfully. Also I had other issues on reinstalls but that perms issue did not re-occur.
I run into similar issue on OSX Catalina. On OSX I did’t move the app to $TMPDIR. I run the app from Downloads folder (since I couldn’t move the app to Applications folder as I’m not a local admin) which created symlinks to @TMPDIR/T/AppTranslocation/209EA1E3-88D1-45C0-B4C9-0FE74CFA6F38/d/Rancher Desktop.app/Contents/Resources/resources/darwin/bin location.
Worked fine at first but after couple of days I noticed my kim and nerdctl would not work as my symlink was pointing to slightly different folder (@TMPDIR/T/AppTranslocation/220-EA1E3-xxx-…/d/Rancher Desktop.app/Contents/Resources/resources/darwin/bin). Not sure how it changed but I fixed the issue by deleting the symlink, restarting the RD app and checking the checkmark next to kim and nerdctl which created the symlink correctly.
Maybe it would make sense to auto delete old and re-create new symlink when an existing symlink points to a file that doesn’t exist?