• DarienGS@lemmy.world
    link
    fedilink
    English
    arrow-up
    113
    arrow-down
    9
    ·
    edit-2
    1 year ago

    What’s wrong with this? Every OS has permissions that stop users from messing with system files.

    • stappern@lemmy.oneOP
      link
      fedilink
      English
      arrow-up
      55
      arrow-down
      39
      ·
      edit-2
      1 year ago

      this is not the system folder, different drive, old windows install and no not every os has this. luckly…

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        70
        arrow-down
        3
        ·
        1 year ago

        If you try to access an old Linux install you could run into the exact same problem. Both Linux and Windows nowadays use filesystems with permissions embedded into them, so if the user on the new install doesn’t match the old one you’ll have a problem.

        • stappern@lemmy.oneOP
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          37
          ·
          1 year ago

          but i just tried i can delete system folders from a different linux drive with no problems

          • redcalcium@lemmy.institute
            link
            fedilink
            English
            arrow-up
            16
            ·
            1 year ago

            Certainly not without using sudo right? It’s the same in the windows land, the UAC dialog is windows’ equivalent of sudo.

            • stappern@lemmy.oneOP
              link
              fedilink
              English
              arrow-up
              10
              arrow-down
              13
              ·
              1 year ago

              correct, but why wasnt i given a UAC prompt here? it just says Try again and Cancel

              • redcalcium@lemmy.institute
                link
                fedilink
                English
                arrow-up
                14
                ·
                1 year ago

                Probably due to some sort of idiot-proof protection to prevent people from deleting their windows folder from explorer. Try running a CMD shell as administrator and delete it from the command line instead.

            • bob_wiley@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              1 year ago

              This breaks the system, depending on your current directory when running it. I had an intern do this to a server while in /. We were able to recover through some tomfoolery, but only because he was still logged in. No one else could get into the system after he destroyed the permissions.

        • stappern@lemmy.oneOP
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          12
          ·
          1 year ago

          i just deleted what i needed with another os, i didnt want to format it i needed some space and wanted to keep some folders

      • Aasikki@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        4
        ·
        1 year ago

        Why wouldn’t you just format the drive if it had an old windows install?

          • Confused_Emus@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            Back up the folders and format the disk. If you’re deleting system files and folders, you’re clearly not running the OS from this other disk. Why waste the space on unneeded system files?

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        3
        ·
        1 year ago

        laughs because it has the same level of protection as other OSs and thus is quite secure in that regard, right?

        • vojel@feddit.de
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          22
          ·
          1 year ago

          Laughs in Linux because if I really want to mess things up it wont stop me unless I am not root. Administrator on Winshit means nothing at all, no control over your system.

          • Fushuan [he/him]@lemm.ee
            link
            fedilink
            English
            arrow-up
            14
            arrow-down
            2
            ·
            1 year ago

            You do realize that in this very post they explain that if you mount an old linux drive with another user, you can’t delete stuff either until you remove the flags or change the owner of the old drives’ files?

            You can do the same in windows, too.

            They are not trying to access their own Windows folder, but that of an old drive.

            • vojel@feddit.de
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              14
              ·
              1 year ago

              Maybe you didnt see I responded to a comment that says that every OS has such dumb mechanisms as mentioned in the post which is def not true. I use Arch btw.

              • Fushuan [he/him]@lemm.ee
                link
                fedilink
                English
                arrow-up
                7
                ·
                1 year ago

                You mention Linux in your comments, but this same thing happens in Linux too! It’s the third time I’m writing this in this comment chain, I’m gonna assume you are a troll since you can’t be this dense. The top comment of this post explains why this also happens in Linux, I mentioned it first and then have you an example. If you can’t ocess that information it’s not my problem. Have a nice day.