>Number: 186986
>Category: kern
>Synopsis: nullfs mount options broken
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 23 19:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tommy Scheunemann
>Release: 10.0-RELEASE
>Organization:
>Environment:
FreeBSD playbox.arrishq.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Seems since an update (clean update) but also with a reinstall mount_nullfs doesn't take options anymore, or better the final mount doesn't take them.
>How-To-Repeat:
cd /root
mkdir dir_1
mkdir dir_2
mount_nullfs -o ro,noexec,nosuid /root/dir_1 /root/dir_2
cd dir_2
ls -a
.. ..
touch testfile
ls -a
.. .. testfile
cp /bin/ls ./
../ls
ls
Also doing a:
mount | grep dir_2
shows:
/root/dir_1 /root/dir_2 (nullfs, local)
but the options "read-only, noexec,nosuid" seem to be ignored.
The underlying filesystem is UFS.
Same problem exists on i386 and amd64 - both with a GENERIC kernel.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"