Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 17:54:34 -0800 (PST)
From:      "J.D. Bronson" <jd@aurora.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/64079: mount_mfs (md) refuses to use permissions when mounting
Message-ID:  <200403110154.i2B1sY13043739@www.freebsd.org>
Resent-Message-ID: <200403110200.i2B20KUK008268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403110154.i2B1sY13043739>