Index: vfs_mount.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_mount.c,v retrieving revision 1.246 diff -u -p -r1.246 vfs_mount.c --- vfs_mount.c 14 Mar 2007 12:54:10 -0000 1.246 +++ vfs_mount.c 14 Mar 2007 12:55:16 -0000 @@ -815,9 +815,7 @@ vfs_domount( if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) return (ENAMETOOLONG); - if (jailed(td->td_ucred)) - return (EPERM); - if (usermount == 0) { + if (jailed(td->td_ucred) || usermount == 0) { if ((error = priv_check(td, PRIV_VFS_MOUNT)) != 0) return (error); }