cli-lab icon indicating copy to clipboard operation
cli-lab copied to clipboard

The current user does not have adequate privileges

Open ArchieCoder opened this issue 1 year ago • 1 comments

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

ArchieCoder avatar May 22 '24 15:05 ArchieCoder

Same issue on macOS 14.5 Sonoma.

ScottAtRedHawk avatar May 22 '24 15:05 ScottAtRedHawk

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.

edvilme avatar Feb 25 '25 22:02 edvilme

I downloaded the tar file. Here is the output (see last line)

Image

ArchieCoder avatar Feb 26 '25 03:02 ArchieCoder

@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 avatar Feb 27 '25 17:02 edvilme

@edvilme It works with sudo thanks. Maybe this command should be in the instructions.

ArchieCoder avatar Mar 02 '25 04:03 ArchieCoder