IssueRaiser

[Windows platform only] access denied on save - offer to elevate permissions

### Summary Sublime Text doesn't show the UAC prompt to elevate permissions for saving a file in a restricted folder on Windows. ### Steps to reproduce 1. On Windows, with User Account Control enabled, open a file in a restricted location, like (a subfolder of) `C:\Program Files`. 2. Make any change to the file 3. Save it ### Expected behavior ST3 should invoke a UAC dialog to elevate permissions so that the file can be saved. ### Actual behavior > error: Unable to save C:\Program Files (x86)... > Error: Access is denied. ### Environment - Operating system and version: - [X] Windows 7 x64 - [ ] Mac OS ... - [ ] Linux ... - Sublime Text: - Build 3113 **Additional notes:** It works on Linux, with it's equivalent of UAC elevation.

Posted by keith-hall on May 11, 2016, 1:55 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

github (Sysadmin)

[Windows platform only] access denied on save - offer to elevate permissions

keith-hallMay 11, 2016, 1:55 PM

### Summary Sublime Text doesn't show the UAC prompt to elevate permissions for saving a file in a restricted folder on Windows. ### Steps to reproduce 1. On Windows, with User Account Control enabled, open a file in a restricted location, like (a subfolder of) `C:\Program Files`. 2. Make any change to the file 3. Save it ### Expected behavior ST3 should invoke a UAC dialog to elevate permissions so that the file can be saved. ### Actual behavior > error: Unable to save C:\Program Files (x86)... > Error: Access is denied. ### Environment - Operating system and version: - [X] Windows 7 x64 - [ ] Mac OS ... - [ ] Linux ... - Sublime Text: - Build 3113 **Additional notes:** It works on Linux, with it's equivalent of UAC elevation.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue