Hi all,
Few days ago, I opened a question on the superuser community to solve one issue I have with my TrueNAS SCALE
There I try to explain that my $HOME variable is not set correctly while in the WebUI panel the route is ok…
echo $HOME
/mnt/data0
- Within
/etc/passwd
, the folder is different:userx:x:3000:3000:UserX:/mnt/data0/userx:/usr/bin/zsh
- Within the TrueNAS configuration panel, it’s set to:
/mnt/data0/userx
The following didn’t work - maybe it’s some kind of variable overwritten on SSH?
sudo usermod -d /mnt/data0/userx userx
usermod: no changes
ls -l /mnt/data0/userx
total 62
drwxrwx---+ 2 userx userx 6 Nov 1 13:07 RG531MP/
drwxrwx---+ 2 userx userx 2 Sep 19 00:44 bin/
drwxrwx---+ 4 userx userx 4 Nov 12 19:02 cosas/
drwxrwx---+ 2 userx userx 7 Nov 1 13:04 isos/
-rwxrwx--- 1 userx userx 760 Sep 23 12:32 compose.yaml*
percival% ls -l /mnt/data0
total 276
drwxr-xr-x 2 root root 2 Mar 11 2024 VM/
drwxr-xr-x 2 root root 2 Sep 24 12:57 data/
drwxrwxr-x+ 16 root root 20 Jan 14 12:53 docker/
drwxrwx--- 9 userx userx 16 Jan 18 13:51 userx/
drwxrwxr-x+ 2 root root 3 Apr 23 2024 iso-files/
drwxr-xr-x 5 root root 7 Sep 29 12:40 jailmaker/
drwxrwx--- 12 root root 13 Dec 26 16:34 media/
mount | grep /mnt/data0
...
data0/userx on /mnt/data0/userx type zfs (rw,noatime,xattr,posixacl,casesensitive)
...
There you have also two screenshots about my WebUI configuration:
Do you have any idea about what is happening?
Kind regards!