Jail limited user cannot access host mountpoint although jail root can

DaLynX d at l.ynx.fr
Sat Mar 11 12:07:58 UTC 2017


I am trying to make my setup work with jails and got stuck in the
following situation:

- Host is mounting a fuse filesystem (because I couldn't make it work directly inside the jail - although the /dev/fuse device was accessible) in the jail's chroot.
- From root at host, everything looks fine.
- root at jail, too, can access the mounted filesystem, read files, no problem.
- limited at jail can see the mountpoints but cannot access them in any way (no cd, no ls...) although the file permissions look okay (it's all 755, and for some reason limited is the owner of all mountpoints).

What could have gone wrong? I tried playing around with
vfs.usermount on the host or enforce_statfs on the jail but it
makes no difference.

Any pointers would be greatly appreciated.

Kind regards,

More information about the freebsd-questions mailing list