These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for "Failed to save user Home directory is not under /home/" on the new forum.
Hello to all, I did use a symbolic link to the 'homes' directory in order to manage the disk space. That was working fine, but since a couple of months, I cannot create or modify a user anymore. There is this warning: "Failed to save user Home directory is not under /home/" If I remove the symbolic link, the user management works fine. Is there something that I can change to recover the use of the symbolic link to the 'homes' directory?
Thank for any help in this matter ;-)
WARNING: If you mess this up, you could break your system. The idea is to remap the filesystem so that home is actually where homes is located.
Make a copy of /etc/fstab. (cp /etc/fstab /etc/fstab.bak)
Edit /etc/fstab
Copy the line that mounts /home to a new line.
Add a # to the start of the original line.
Add a # to the start of the line that mounts 'homes'.
On the new entry change it to mount the 'homes' directory as home.
ie.
#/dev/sr1 /home ext4 defaults 0 2
#/dev/sr2 /homes ext4 defaults 0 2
/dev/sr2 /home ext4 defaults 0 2
Save the file. A reboot from here is probably the easiest. Note that I presume you use the entire partition for 'homes'. If not, please post your /etc/fstab between 'code' tags so we can see before you get started.