AppData folder: am I a joke to you?

  • Ekky@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    114
    arrow-down
    2
    ·
    edit-2
    18 hours ago

    Meme with the text: The world if everybody used the Filesystem Hierarchy Standard properly.

    I realize that the OP is a Windows case, but I’d be rich if I had a penny for every time a savegame or config file is stored somewhere totally whack.

    • Elvith Ma'for@feddit.org
      link
      fedilink
      English
      arrow-up
      39
      ·
      17 hours ago

      I’d be rich if I had a penny for every time a savegame or config file is stored somewhere totally whack.

      Fun thing of you enable protected folders on windows: No app can get write access your Documents folder (or Images or Videos or…) unless you put them explicitly on the whitelist. That means you get to experience all the programs that are crashing or hanging or… just because they’re simply assuming that that’s the best place to dump data and because these folders always exist, you don’t need proper error handling in case you cannot access them…

        • Elvith Ma'for@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 hour ago

          IIRC the default for the root of the drives in Windows is an analog to Linux / which should be root:root 755.

          The difference: When Windows displays the UAC dialog and asks you to elevate, it will (mostly?) just add your user to the ACL list instead of elevating your file browser while you access the drive. If ACLs are inherited from other folders below, that can have serious side effects…

          • Appoxo@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            36 minutes ago

            No by root I meant D:\
            Some random peogram tried to access the root of one of the (non-C:\) drives and got blocked.
            I on the other hand wondered why the program didnt work until I got the obligatory notification that something was blocked.

    • scops@reddthat.com
      link
      fedilink
      English
      arrow-up
      24
      ·
      18 hours ago

      I’m completely self-taught when it comes to Linux, so I have some obvious gaps in my knowledge. I’ve looked for good write-ups on how Linux folders are intended for use and been unable to find a good resource. Thank you for sharing the official standard name. Reading up on it now.

      • Ekky@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        25
        ·
        18 hours ago

        That’s respectable! But yeah, the FHS is something that’s surprisingly hard to find in-depth information about if you don’t already know about it.

        I think this page from systemd (or this page from the arch wiki, if you prefer formatting) has a decent description of not only the FHS, but also the more standard user/home structures.

        • TunaLobster@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          15 hours ago

          I continue to be impressed with the Arch community and their dedication to collecting information about Linux into one place. Props to everyone that has contributed! You really are helping users solve problems everyday!

          • Ricky Rigatoni 🇺🇸@lemm.ee
            link
            fedilink
            English
            arrow-up
            6
            ·
            11 hours ago

            People pretend Arch is a DIY OS but really it’s a lego kit with homemade instructions and sometimes a little capuchin comes up to help you put some of the pieces together.