In short, my question is “Is there a way to prevent a non-malicious but unknowledgable and clumsy user to ruin their own home directory?”

Say my grandma opens a file browser looking for a picture, finds those dot files or those mysteriously-named directories distracting, sets her mind to deleting them. And assume she somehow finds a way to do so. While I understand that dot files or mysteriously-named directories of a non-privileged user are of no ultimate importance, it is a maintenance nightmare.

Plus, it’s not only mysterious files that are prone to be targetted. She might well delete by accident the picture she was looking for.

Two kinds of solutions that come to mind are: -Restrict file permissions in an adequate way -Implement an easily operable, fool-proof, back-in-time scheme

Is there a mainstream, well-supported distro of GNU/Linux that has figured this use-case out?

I figure it might come in handy when Window 10 is no longer supported and the reports of hacks keep coming in.

  • Psythik@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    My sister’s pretty dumb but couldn’t break ElementaryOS. Hell, it took her a full year before she realize that it wasn’t Windows.

    IDK how, cause it looks more like MacOS than Windows; point I’m making is that if ElementaryOS could work for her, it could probably work for your grandma.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    Get her a Chromebook or iPad

    That’s not to say that Linux can’t work. It absolutely can but keep in mind you are going to be the only one who can provide support.

  • corsicanguppy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    I’m looking at upgrading my mom and my wife’s mom to Linux as w10 dies.

    So far: I’m gonna put their homedirs on zfs with a cronned snap operation so I have that trivial history-eraser which I know I’m gonna need.

    But I’ve been thinking about their use-case, and as browsers, searchers and friendica candidates I don’t see much else I need to do beyond ensuring I can VNC into their running session and see what they’re looking at when it’s a strange thing.

    Most of the damage they COULD do as a regular user is to their own stuff. We’re gonna have a backup. The bulk of the concerns will be “why can’t this earbud set work” or “my printer” and that’s kinda the same as windows.

    Honestly I’m looking forward to synching their workstations here when they come and visit a d showing them fun stuff.

  • Eldritch@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    Daily or weekly cron job with a backup utility to a protected directory or off site storage. The best and only way. Regardless of operating system. At least the home directory.

  • chi-chan~@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    What about just giving them Immutable/Atomic distros instead? Instead of it be very easy to break, you could go for very hard to break (not on purpose) from the start.

    • Lost_My_Mind@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      3 days ago

      Did you read the post? He wants to prevent her from deleting non-root stuff too. Like photos.

      • Eldritch@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        Well that and they should 100% have older generations fuzzing operating systems and software. Not that MS has ever been particularly secure. But back around 2000 or so. I set up the main PC at home with a fresh install of windows 2000. My mother and I were the main ones using it. So I had her and I set up to administrate. My father I had set up as an unprivileged account because he had a history of oopsy-doodles. He started complaining about not being able to access the Internet. Somehow without administrator access, poking around randomly he’d managed to change some setting blocking network access for unprivileged accounts.

        I have them both on Linux now with recent MS bullshit. He was telling me he needs another operating system because this one always locks up on him. I went to check. The OS was fine. He meant the browser. Which wasn’t locked up either. He wanted to print something he didn’t need to. But hadn’t selected his printer. So it was going to save a PDF. But he couldn’t find his printer in his home directory and left it on the dialog lol. He will 100% fuck his home directory up at some point. But that’s why I have it backed up weekly.

    • Lost_My_Mind@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      3 days ago

      Knowing absolutely nothing about NixOS, and never having heard of it before this moment, I’m going to guess it’s a linux distro themed after Richard Nixon.

      • j4k3@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        3 days ago

        It is a special Linux version that is made for developers, and is quite complicated. It kinda unites all operating systems where anything can be built for anything and the dependencies for code libraries and stuff are independent from the base OS. So yeah, it is operation deep throat Dick’s OS /s

        • Lost_My_Mind@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          2
          ·
          3 days ago

          I never understood why that was his code name. He’s like “I’m a secret undercover agent. Call me…deep throat”.

          “What? No. You can be literally ANY combination of words. You could be Red Fox, or Sleepy Walker, or AxelRod. Literally ANY combination of words, since nobody will ever know uour code name. You’re undercover.”

          “Call me Deep Throat”

          “C’mon man. I don’t want to tell my spy buddies that I’m going to go meet Deep Throat in an ally for a secret meeting.”

          “Call…me…Deep Throat.”

          “God dammit…”

          • CaptDust@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            3 days ago

            For what it’s worth, Mark Felt didn’t choose the name, Woodward initially published with “My Friend”, but the editors picked it to personify the source. And yes, they actually just used the title of a popular porno video.

    • Consti@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      3 days ago

      Immutable distros aren’t immutable in the home folder though, they would be unusable otherwise, so that doesn’t solve OPs problem of dotfiles/personal files (I know nixOS tries to get rid of dotfiles, but in my experience that almost never works, it’s only helpful for replacing config files in /etc)

  • j4k3@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Android is made for this specific use case, of a completely ignorant user.

  • demesisx@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    I’d go with NixOS in impermanence mode coupled with home-manager and a NixOS service that does the backup “cron job” that another poster talked about (just in case).

    Even if she somehow managed to brick the system, you could completely restore it within minutes to the EXACT state you left it in using just these three or four Nix tools. Hell, she could even do it herself by rebooting and selecting a previous config at the start screen. All she needs to do is be able to press down and enter.

  • huquad@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    I normally would agree, but actually had a timeshift instance that wasn’t properly deleting old backups. Ended up taking over every last byte