Description
With sudo being completely out of the picture on Windows, we currently have a scenario where Micro successfully detects the file's state, but then inevitably fails when it comes to saving changes:
Trying to apply attrib -r automatically, and only then throw an error, in case of insufficient permissions, would be a more considerate approach in my opinion.
Alternatively/Optionally, a corresponding option in settings to control this behavior, with options:
auto: makes the file writeable permanently when saved for the first time
prompt: same as for Quit with unsaved changes
preserve: respects the initial read-only state and restores it when saved
Description
With
sudobeing completely out of the picture on Windows, we currently have a scenario whereMicrosuccessfully detects the file's state, but then inevitably fails when it comes to saving changes:Trying to apply
attrib -rautomatically, and only then throw an error, in case of insufficient permissions, would be a more considerate approach in my opinion.Alternatively/Optionally, a corresponding option in settings to control this behavior, with options:
auto: makes the file writeable permanently when saved for the first timeprompt: same as forQuitwith unsaved changespreserve: respects the initialread-onlystate and restores it when saved