cli-lab
cli-lab copied to clipboard
The current user does not have adequate privileges
Hi,
I'm no Mac expert. I don't know how to run the tool. The documentation does not explain what is required.
I have only one user on my Mac. My user has admin privilege. In settings, the toggle is on for the admin to allow administer my computer.
Thank you
Same issue on macOS 14.5 Sonoma.
Hello @ArchieCoder @ScottAtRedHawk can you please provide additional context to the error that is appearing on your computers?
You can either try building the tool with -p:RID=osx-arm64 for Apple Silicon (M-Series Macs) or -p:RID=osx-x64 for Intel Macs, and running the output binary in artifacts/bin/dotnet-core-uninstall; or use the .tar.gz in the releases section of this repo.
Please let me know if this is helpful.
I downloaded the tar file. Here is the output (see last line)
@ArchieCoder Have you tried running the command with sudo?
The tool attempts to uninstall from secured locations which require special permissions to remove files
@edvilme It works with sudo thanks. Maybe this command should be in the instructions.