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

Save As...dialog should also include a choice to save as administrator/root #17707

Closed
rhires opened this issue Dec 22, 2016 · 1 comment
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality linux Issues with VS Code on Linux

Comments

@rhires
Copy link

rhires commented Dec 22, 2016

This is a feature request :-)

VSCode Version 1.8.1
Commit ee428b0
Date 2016-12-19T14:41:20.664Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

  • OS Version: Ubuntu 14.04

When saving a file, I get a "Failed to save 'default': A system error occured (EACCES: permission denied, open '/etc/nginx/sites-available/default')" because I'm saving the file as a regular user, rather than admin/root. This is as it should be. But I should also get a prompt that allows me to enter root/pw so that I can go ahead and save.

I think it makes sense to put that in the "Save As..." dialog, because I think to myself "Yeah, save as root". As for details of the process of that...I'm not sure. Maybe once you hit save and you get the permission denied, it can prompt w/ username/pw for whatever user (generally root) is needed to save in that spot.

@egamma egamma added feature-request Request for new features or functionality linux Issues with VS Code on Linux labels Dec 23, 2016
@Tyriar
Copy link
Member

Tyriar commented Dec 24, 2016

Duplicate #1614

@Tyriar Tyriar closed this as completed Dec 24, 2016
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 24, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality linux Issues with VS Code on Linux
Projects
None yet
Development

No branches or pull requests

3 participants