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

Mac OS: Allow to save files that need user elevation #13404

Closed
jreljac opened this issue Oct 9, 2016 · 3 comments
Closed

Mac OS: Allow to save files that need user elevation #13404

jreljac opened this issue Oct 9, 2016 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality workbench-run-as-admin Issues concerning running as administrator

Comments

@jreljac
Copy link

jreljac commented Oct 9, 2016

  • VSCode Version: 1.5.3
  • OS Version: macOS 10.12

Steps to Reproduce:

  1. Install Code into command path using the Command pallet option Shell command: Install 'code' command in PATH
  2. Open terminal then open a protected file using code Example: $ code /etc/php.ini
  3. Edit file then cmd + S to save
  4. VSCode responds with Error Failed to save 'php.ini': File is write protected. Select 'Overwrite' to remove protection.
  • Clicking Overwrite produces the same message
  • Clicking Cancel produces the same message
  • Clicking Esc key or Discard dismisses the message

Typical behavior would be to prompt the user for administrator credentials to allow the protected file to be saved.

@fuggfuggfugg
Copy link

After updating VSCode, It saves the files couple of times initially and then abruptly stops saving code. I've to close the app and re-open VSCode.

@bpasero bpasero changed the title Saving a protected file in OS X does not prompt for authentication Mac OS: Allow to save files that need user elevation Oct 13, 2016
@bpasero bpasero added feature-request Request for new features or functionality file-explorer Explorer widget issues labels Oct 13, 2016
@bpasero bpasero removed their assignment Oct 13, 2016
@isidorn isidorn added file-io File I/O and removed file-explorer Explorer widget issues labels Nov 17, 2017
@bpasero bpasero added workbench-run-as-admin Issues concerning running as administrator and removed file-io File I/O labels Nov 17, 2017
@bpasero bpasero removed their assignment Nov 17, 2017
@bpasero
Copy link
Member

bpasero commented Dec 3, 2017

/duplicate of #1614

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 3, 2017
@vscodebot
Copy link

vscodebot bot commented Dec 3, 2017

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Dec 3, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 17, 2018
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 workbench-run-as-admin Issues concerning running as administrator
Projects
None yet
Development

No branches or pull requests

4 participants