-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: AccessDenied (syslink) #104
Comments
I just ran into this too. Trying with sudo also doesnt work out of the box, as then I also have to install zig for the root user
|
ooof, you definitely don't want to be running zigup with sudo. I'm guessing you installed zigup with sudo? zigup by default puts the symlink in the same directory as zigup itself, so if you needed sudo to install zigup then you'd also need it to update the symlink. To fix the ownership issues from ever running zigup as root, you should be able to run something like After that, I'd move zigup to a location in your path that your user has access to. For me that's typically |
Getting the same error on Windows when I run
|
@tech189 could you build zigup yourself in debug mode and run that command again so we could get a stack trace with symbols? |
It creates a
|
Fixes an issue reported by user tech189 in issue #104.
Fixes an issue reported by user tech189 in issue #104.
Fixes an issue reported by user tech189 in issue #104.
I've created a potential fix here. Can you download this branch and try it out to see if it fixes this issue? |
@marler8997 It does handle it gracefully.
Though it doesn't fix the problem. Calling this manually:
works. This is the current permission structure for
without sudo on the linking, it won't allow you to create a linking item on that folder. Calling |
I am using Linux
latest build of zigup v2023_07_27
zigup.ubuntu-latest-x86_64.zip
I looked into it and seems like
ln -s
(syslink) for/usr/bin
requires sudo access.if I run
zigup
with sudo, then it requires root access to run zig.The text was updated successfully, but these errors were encountered: