• @theunknownmuncher
    link
    English
    22 months ago

    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

    • madthumbsOPM
      link
      English
      -62 months ago

      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.

      • @theunknownmuncher
        link
        English
        4
        edit-2
        2 months ago

        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 🙂

        • madthumbsOPM
          link
          English
          -32 months ago

          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.