I've found that the the user's home directory, created by Add New User -> Home Directory, is not actually accessible to the user. In my setup I'm running v9.2.1.6 and have
I chose /mnt/tank/home to be the home directory for user Bob, which results in the system automatically creating a directory "Bob" there. The problem is the ownership of the directory is set to 700 with user: root and group: wheel, which means Bob can't access it. This happens whether I accept the default permissions for home, or change them to have user:Bob and group: Bobgroup.
One of the effects of this is that Bob's public key isn't then accessible when trying to log in via SSH. Fiddling with the permissions of the directory works (I tried adding Bob to the wheel group and doing a chmod 750 on /mnt/tank/home/Bob), but is this lack of access by design or is it unintentional?
- A ZFS volume named "tank",
- A dataset named "home".
I chose /mnt/tank/home to be the home directory for user Bob, which results in the system automatically creating a directory "Bob" there. The problem is the ownership of the directory is set to 700 with user: root and group: wheel, which means Bob can't access it. This happens whether I accept the default permissions for home, or change them to have user:Bob and group: Bobgroup.
One of the effects of this is that Bob's public key isn't then accessible when trying to log in via SSH. Fiddling with the permissions of the directory works (I tried adding Bob to the wheel group and doing a chmod 750 on /mnt/tank/home/Bob), but is this lack of access by design or is it unintentional?
Last edited: