I've run into a problem where all jail accounts besides root are now being denied access to mountpoints on my main storage pool, despite the permissions seeming more than generous enough to allow access. This setup worked fine until I started experimenting with Windows and Unix ACLs and permissions on my pool, but at this point I've reverted entirely to Unix permissions and I don't understand how the below isn't working.
In this example from my Plex jail, media is a mountpoint configured in the FreeNAS GUI that points to my main pool, floog is an account in the base system that owns the dataset/directory, and the GID for the wheel group is the same in the base system and the jail. But despite the plex user being a member of the owner group and the directory being read-writable by everyone, the plex user still can't access the mountpoint. Same problem for another jail that houses a music server. Is there something obvious I'm missing here?
Code:
root@plex [/] # ls -l | grep media drwxrw-rw- 7 floog wheel 7 Feb 2 21:28 media root@plex [/] # id plex uid=972(plex) gid=972(plex) groups=972(plex),0(wheel) root@plex [/] # sudo -u plex -Hs % pwd / % cd media media: Permission denied.
In this example from my Plex jail, media is a mountpoint configured in the FreeNAS GUI that points to my main pool, floog is an account in the base system that owns the dataset/directory, and the GID for the wheel group is the same in the base system and the jail. But despite the plex user being a member of the owner group and the directory being read-writable by everyone, the plex user still can't access the mountpoint. Same problem for another jail that houses a music server. Is there something obvious I'm missing here?