misc/64079: mount_mfs (md) refuses to use permissions when mounting

J.D. Bronson jd at aurora.org
Wed Mar 10 18:00:21 PST 2004


>Number:         64079
>Category:       misc
>Synopsis:       mount_mfs (md) refuses to use permissions when mounting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 18:00:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     J.D. Bronson
>Release:        5.2.1
>Organization:
Aurora Health Care
>Environment:
shadow# uname -a
FreeBSD shadow 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Mar  8 08:42:48 CST 2004     root at shadow:/usr/src/sys/i386/compile/SHADOW  i386
>Description:
mount_mfs commands '-p' and '-w' do not work as expected when setting up a RAM filesystem on 5.2.1 (md)
>How-To-Repeat:
/etc/fstab:

md /MIMEDefang  mfs  rw,-p 700,-w smmsp:smmsp,-s48m,noasync,noatime    0       0

When mounted it results in permissions such as:

drwxrwxrwt   3 root   wheel      512 

No matter what the dir was BEFORE trying this command. The only way to get the permissions correct is to mount the RAM slice without '-p' and '-w' and then chown/chmod them afterwords.


>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list