Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62154 - [code] 'Retry as Sudo' not working

Attached to Project: Community Packages
Opened by Rocket Aaron (rocket1184) - Wednesday, 27 March 2019, 09:23 GMT
Last edited by Balló György (City-busz) - Thursday, 28 March 2019, 20:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



When open a file in /etc/ with code and try to save changes, it would be rejected by "Permission denied", that's expected behavior. And then code would prompt user to "Retry As Sudo", but this feature won't work. It works fine with `aur/visual-studio-code-bin`.

Additional info:
* package version(s)
* 1.32.3-1
* config and/or log files etc.
* link to upstream bug report, if any
* VSCode bug:

Steps to reproduce:

1. `sudo touch /etc/test`
2. `code /etc/test`
3. type some words randomly and save file
4. click "Retry As Sudo" in message prompt, and the prompt would show again, no changes would be saved.
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 28 March 2019, 20:35 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#61516