Subject: Re: mount problems
To: David S. <davids@idiom.com>
From: Fernando y Yohara <fvillalo@sinfo.net>
List: netbsd-help
Date: 03/30/2002 20:34:26
1. What is a point node? Is it the directory off / (/floppy and /cdrom in this
case)? How can it have multiple owners? Right now they are owned by root since
that is the account that created them. Does this mean I have to create /floppy
and /cdrom for each user?
2. I changed the devices access to rw-rw--- for /fd0a and /cd0a
3. In the man page for sysctl(8) there is no vfs.generic.usermount parameter
listed
Does this mean the parameter does not exist? or is not listes simply.
"David S." wrote:
>
> >
> > I followed the NetBSD guide and created some /floppy and /cdrom directories
> > off /. I also added the entries specified in the guide into the fstab file.
> >
> > Root can mount as directed (mount /floppy and mount /cdrom), but any other user
> > can not. What's missing?
>
> An examination of the man page for 'mount', which reads
>
> 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). In addition, the vfs.generic.usermount sysctl(3) must be set
> to 1 to permit file system mounting by ordinary users. See also
> sysctl(8).
>
> David S.
>
> >
> >
--
A lot of people approach risk as if it's the enemy when it's really fortune's
accomplice. (Sting)
Choose well. Your choice is brief, and yet endless. (Goethe)