Mon, 2 Sep 2024 14:30:17 +0200 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-09-02 05:36, bent fender wrote:
Sun, 1 Sep 2024 22:14:18 -0400 Felix Miata <> :
bent fender composed on 2024-09-01 06:30 (UTC-0400):
I'll have to be clearer paraphrasing my setup:
- all users are members of group g (1999)
- one data drive is mounted in fstab @ /data all users and group: rwx, others: r
- some users' homes are under /home such as home/u0
- some users' homes are links like /home/ux pointing to /data/ux/Tw (in the case of Tumbleweed). In my Slackware system for example /home/ux points to /data/ux/sLk and so on
- all those users that are actually me have links like /data/ux/0 pointing to /data/ux/zero hosting for example my Sylpheed folders so that it doesn't matter which distro I boot using which desktop my email always works in the same folder. There are other similira rigs for common dolphinrc and like configs. Some apps are conviviality-hogs and resist such efforts so they will soon get dumped, Mozila leading the way because Pan (like many others) is not problematic. Ubuntu's snap or whaaaateeevr was also a conviviality-hog and refused to allow this so Ubuntu-Studio also got dumped.
Instead of symlinks, you could have a different home listed in /etc/passwd:
cer-k:x:1040:100:someone:/data/someone:/bin/bash
The link methoid has been working fine, I also keep a renamed user home under /home so if th edata home fails to mount for whatever reason I can rename the one under /home and be operational for essentails.
However, it is generally not a good idea to have two distributions use the same home folder, because their configuration files could be different. It is better to use different folder, and symlink the data folders of applications.
I know, every distro has its own, /home/UserMe in TW points to /data/UserMe/Tw, under Slak it points to /data/UserMe/sLk, this too has been working quite well. There are exceptions, /data may not mount as another data partition just did. This one would mount under /data/local but it did NOT. Got a dmesg error to the effect that "data=" could not be mounted eventhough /etc/fstab VERY CLEARLY shows "ext4 data=ordered,nofail 0 2" Felix Miata took up the challenge of this thread so I'll answer him with the *surprising* RESOLVED fix.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)