Subject: bin/11214: mfs has mode 1777 hard-coded for the root inode
To: None <>
From: Simon Burge <>
List: netbsd-bugs
Date: 10/13/2000 10:53:22
>Number:         11214
>Category:       bin
>Synopsis:       mfs has mode 1777 hard-coded for the root inode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 13 10:53:01 PDT 2000
>Originator:     Simon Burge
>Release:        all
Wasabi Systems
System: NetBSD 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (THOREAU)
#14: Mon Sep 25 19:37:35 EST 2000 alpha

	mount_mfs is hard-coded to use mode 01777 as the permissions of
	the root inode of the mfs, and the current user/group as the
	user/group of the root inode.  This is not useful for scratch
	filesystems where global write permissions is not desired - for
	example /var/run.

	Put "swap /var/run mfs rw,-s=8192" in your fstab, and then look
	at the perms of /var/run after a reboot.

	None given.  As for option names, -m for mode is used, but -p
	for permissions isn't. -o for owner is used, -u for user and -g
	for group isn't.