Subject: Re: Chapter 12.5 should be updated
To: None <netbsd-docs@NetBSD.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: netbsd-docs
Date: 09/21/2007 02:43:19
On Feb 11,  5:37am, Martin Husemann wrote:
} On Fri, Sep 21, 2007 at 01:15:46AM +0200, Mark Weinem wrote:
} > Thank you for reporting this! But it still works on NetBSD 3.1 and
} > NetBSD 4.0_BETA1
} 
} For 4.0 and -current it only works for root. As a normal user, you need the
} nodev,nosuid options - see mount(8):
} 
}      In NetBSD, a file system can only be mounted by an ordinary user who owns
}      the point node and has access to the special device (at least read per-
}      missions).  Also, the vfs.generic.usermount sysctl(3) must be set to 1 to
}      permit file system mounting by ordinary users, see sysctl(8).  Finally,
}      the flags nosuid and nodev must be given for non-superuser mounts.

     Could mount(2) be fixed to force nodev,nosuid for non-superuser
mounts instead of throwing an error?

}-- End of excerpt from Martin Husemann