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

[Improvement]: Run in Admin mode when updating Ballerina on Windows #367

Open
Shadow-Devil opened this issue Oct 5, 2024 · 0 comments
Open

Comments

@Shadow-Devil
Copy link

Description

Ballerina is installed by default into C:\Program Files\Ballerina but this folder needs admin permissions to be modified.
While the first installation automatically asks the user for admin permissions, running bal dist update does not. For me, it always throws this error when not running in an admin terminal:

$ bal dist update
ballerina: permission denied: you do not have write access to 'C:\Program Files\Ballerina'

Then, I have to use another Terminal, which I start with admin permissions, which is quite inconvenient.

Describe your problem(s)

No response

Describe your solution(s)

It would be great if bal dist update also asks for admin permissions instead of just failing to install in a non admin terminal.

Related area

-> Update Tool

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot transferred this issue from ballerina-platform/ballerina-lang Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant