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.

  • @[email protected]
    link
    fedilink
    English
    104 months 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.

    • @[email protected]
      link
      fedilink
      English
      244 months ago

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

      • @[email protected]
        link
        fedilink
        English
        44 months 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.

  • @[email protected]
    link
    fedilink
    English
    174 months ago

    I mean, Timeshift with BTRFS is pretty robust. I use it with Linux Mint, couldn’t be happier.

    • BlueTardis
      link
      fedilink
      English
      74 months ago

      Seconded. Mint with Timeshift setup. Ideally separated drive dedicated to this but you could make a partition.

      With auto daily/weekly/monthly options and versioning you are pretty safe unless she has an axe.

      I would also setup RustDesk so you can help if needed. But visits are nice depending on cookies and distance

  • @[email protected]
    link
    fedilink
    English
    54 months ago

    Lots of good answers already, but a hidden gem has yet to be mentioned: Endless OS. TL;DR: it’s an immutable distro based on Debian. As for the home directory, please consider one of the many solutions provided by others in this thread. Good luck!

  • @[email protected]
    link
    fedilink
    English
    24 months ago

    I gave a laptop running zorin to the mom of a friend of mine. She’s been using it for over a decade now

    • @[email protected]
      link
      fedilink
      English
      14 months ago

      my grandparents have a very slow laptop with w10 and it keeps telling them it can’t upgrade to 11, and I’m sick of explaining to them that their pc will not stop working…

      i would install mint for them since I use it too, but I’m afraid they will find a way to delete items in the panel…or the whole panel. and there ain’t no way to lock it. I have been considering zorin but wasn’t sure of how stable it is. has ever destroyed itself with updates or anything like that?

        • @[email protected]
          link
          fedilink
          English
          24 months ago

          Yep, it’s just been auto updating. She needed help from her kids once or twice when her documents left the “recently opened” list though. She does not know what a filesystem is

  • @[email protected]
    link
    fedilink
    English
    14 months 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.

    • @[email protected]
      link
      fedilink
      English
      204 months 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.

      • 𞋴𝛂𝛋𝛆
        link
        fedilink
        English
        6
        edit-2
        4 months 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

        • @[email protected]
          link
          fedilink
          English
          124 months 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…”

          • @[email protected]
            link
            fedilink
            English
            10
            edit-2
            4 months 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
      link
      fedilink
      English
      134 months 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)

  • @[email protected]
    link
    fedilink
    English
    214 months 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.

  • @[email protected]
    link
    fedilink
    English
    104 months ago

    Ok. I have pretty much this use case live and have had for about 4 years. With 5 different elderly users.

    My solution: Linux Mint (standard Cinnamon) it’s easy to use and supports pretty much all hardware with no faffing around.

    The file browser in default settings doesnt show the dot directories in home. Granny is unlikely to break out any CLI chops but even if she does…

    Setup automatic OS updates with automatic timeshift snapshots.

    Add the dot directories to the snapshots.

    Leave instructions that if they turn it on they have to leave it on for a half hour (so snapshot completes).

    That’s it, you’re good. Setup a remote access software if you can’t just walk across the road to provide support.

    Real world they’ve never broken anything more significant than deleting an icon they still wanted on the desktop.

  • Presi300
    link
    fedilink
    English
    34 months ago

    Give her fedora silverblue, pretty much impossible to break.

  • Tippon
    link
    fedilink
    English
    44 months ago

    Would kiosk mode be any good for her use case? Add the photos etc. as a different user and give Grandma read only access, and automatically reset her home directory on boot / login.

    Use an immutable distro to lessen the chance of her deleting something important, and you should be set. Maybe set up Firefox with sync so that she can add bookmarks, and have that log in automatically.

  • Domi
    link
    fedilink
    English
    64 months ago

    I setup Fedora Silverblue on an old surface for my mom so she can read her mails and browse the web. I also setup Btrfs Assistant for regular snapshots and Nextcloud, in case the wrong file is deleted. No issues so far.

    Didn’t have to setup any file restrictions or anything since the dot files are hidden either way.

    • Random Dent
      link
      fedilink
      English
      24 months ago

      Yeah that was my first thought too. Automated backups and very few visible buttons. I tend to find that people who aren’t very computer-minded don’t like poking around much, so if you just have a button for internet and a button for email or whatever that should cover things pretty well. And then automated backups that they can’t get to just in case lol.

      I think Silverblue is a good call too, anything immutable so all the inner workings are protected.

  • @[email protected]
    link
    fedilink
    English
    84 months 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.