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

Prompt user for admin permission when write is denied #92

Closed
Katsute opened this issue Feb 2, 2023 · 0 comments · Fixed by #97
Closed

Prompt user for admin permission when write is denied #92

Katsute opened this issue Feb 2, 2023 · 0 comments · Fixed by #97

Comments

@Katsute
Copy link
Member

Katsute commented Feb 2, 2023

https://www.npmjs.com/package/@vscode/sudo-prompt

https://www.npmjs.com/package/sudo-prompt

https://www.npmjs.com/package/@mh-cbon/sudo-fs

Possibly use child_process in conjunction with sudo to run a node script.

Show notification, ask users if they want to activate sudo mode.

Use force move/mv to update files.

https://stackoverflow.com/a/5560480

Originally posted by @Katsute in #84 (comment)

@Katsute Katsute self-assigned this Feb 2, 2023
@Katsute Katsute linked a pull request Feb 6, 2023 that will close this issue
5 tasks
@ghost ghost locked and limited conversation to collaborators Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant