TIL that you can break snap packages if your home directory involves a symbolic ...

@dannyman@sfba.social

TIL that you can break snap packages if your home directory involves a symbolic link. That's a pretty weak failure mode, imo. But, there's a simple fix that involves using a "bind" mount in lieu of a symlink.

askubuntu.com/a/1097306/20346

So, the really gratifying TIL is that there are these things called "bind" mounts to "remount part of the file hierarchy somewhere else." In this case, instead of moving /home to /data/home and then making /home into a symlink, you move /home to /data/home and then tell mount that /home refers to /data/home. Which seems like a pretty inconsequential difference ... until you use a snap package, it seems.

What's weird is this bind mount doesn't show up in "df -h" but if I am in my home directory and "df -h ." then says I am in the "/home" which mounts the same volume as "/data".