this post was submitted on 01 Nov 2024
69 points (82.2% liked)
Linuxsucks
133 readers
144 users here now
Shit on Desktop Linux and its evangelists here
No evangelizing for Linux
founded 3 weeks ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
On which operating system can you write to a file that you do not have permissions to write to?
This exact same behavior also occurs on Windows lol
By default, a text editor in Windows will not even open the file for you to edit if you do not have the privilege already.
This is simply not true. Try it. I just did! File opens in notepad but when you save, you get an error. It does allow you to open the file without write permission because you have the option of saving it to a location where you do have permissions. Just like Linux 🙂
Ok, checked it and you're right, contrary to what I read. It does suggest in the error on Windows to save it to your documents instead at least.