Have my Vivaldi setup so the user directory is a link to a directory in a different location (outside the Home directory.)
This generally works fine, and will work for a day/2 days/a week/almost a month, but intermittently, the link disappears, and the user directory within the Vivaldi structure, becomes a normal directory.
If I then go in, delete the normal directory, and recreate the link ([FONT=arial]ln -s /home/data/_data/Vivaldi/John/ /home/johno/.config/vivaldi/John), things will then work as expected, until a while down the track, the same thing happens again…
Any ideas why the link is intermittently disappearing?
Looks like it. Wheatever is default with Tumbleweed. See below…
Output from journalctl when mounting:
Mar 09 12:04:43 boss sudo: john : TTY=pts/1 ; PWD=/home/johno ; USER=root ; COMMAND=/usr/bin/mount -v /home/data/
Mar 09 12:04:43 boss sudo: pam_unix(sudo:session): session opened for user root
Mar 09 12:04:43 boss ntfs-3g: Version 2021.8.22 external FUSE 29
Mar 09 12:04:43 boss ntfs-3g: Mounted /dev/sdb2 (Read-Write, label "Data", NTFS 3.1)
Mar 09 12:04:43 boss ntfs-3g: Cmdline options: rw
Mar 09 12:04:43 boss ntfs-3g: Mount options: allow_other,nonempty,relatime,rw,fsname=/dev/sdb2,blkdev,blksize=4096
Mar 09 12:04:43 boss ntfs-3g: Ownership and permissions disabled, configuration type 7
Mar 09 12:04:43 boss sudo: pam_unix(sudo:session): session closed for user root
This is reproducible (in the long term) behavior of UNIX systems since ever. I have seen this first with Apollo Domain and HP-UX workstations in the early nineties. Applications fail to correctly check for the target of the link to exist and prematurely create a folder with the same name replacing the link. I have no idea what vivaldi actually does on invocation.
A more annoying variation of the above is system administrators running backups without checking for the correct backup mount. This reproducibly resulted in 100% usage of the system partition and warranted a really long coffee break.