Possible to mdconfig/mount a file from inside a jail?

Status
Not open for further replies.

qqBazz

Dabbler
Joined
Nov 5, 2015
Messages
34
I'm trying to mount a local file as a disk from within a jail, and being refused:

Code:
root@raven /u/h/a/k/crochet# mdconfig /usr/home/adam/knox/crochet/work/FreeBSD-armv6-10.3-RPI-B-ZFS-312210M.img
md7
root@raven /u/h/a/k/crochet# mount /dev/md7s1a /mnt
mount: /dev/md7s1a: Operation not permitted


Is there some policy preventing one from mounting things from within a FreeNAS jail?
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
This is in the jails man page
It is not possible to mount(8) or umount(8) any file system inside a jail unless the file system is marked jail-friendly and the jail's allow.mount parameter is set.
 
Status
Not open for further replies.
Top