Skip to content
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

Failed to create vela symlink during velad install #150

Open
iambocai opened this issue Jul 19, 2023 · 5 comments
Open

Failed to create vela symlink during velad install #150

iambocai opened this issue Jul 19, 2023 · 5 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@iambocai
Copy link

Description

Failed to create vela symlink during velad install

Screenshoot

image

@iambocai
Copy link
Author

related code:

err = os.Symlink(dest, pos)

@iambocai
Copy link
Author

I know users can crate this link by self (like sudo ln -s /usr/local/bin/velad. /usr/local/bin/vela), but it would be nice if velad install can do this job.

@chivalryq
Copy link
Member

I'm testing velad with a root server so I didn't notice that will fail. But if user is running velad install with an unprivileged user, velad can't make symlink to /usr/local/bin. A solution is to find a directory in $PATH in which user have privilege to create symlink.

@chivalryq chivalryq added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 20, 2023
@pkpndy
Copy link

pkpndy commented Jul 23, 2023

Hi @chivalryq can I work on this issue?

@chivalryq
Copy link
Member

Yes, please go ahead @pkpndy

@chivalryq chivalryq assigned chivalryq and pkpndy and unassigned chivalryq Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants