• theunknownmuncher@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    20 days 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

    • madthumbs@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      5
      ·
      20 days 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@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        20 days 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 🙂

        • madthumbs@lemmy.worldOPM
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          3
          ·
          20 days 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.