List Info

Thread: Chapter 12.5 should be updated




Chapter 12.5 should be updated
country flaguser name
United States
2007-09-15 18:22:26

Hi,

2.5. Allowing normal users to access CDs


The command

mount -t cd9660 /dev/cd0a `pwd`/cdrom

does not work, instead 

mount -t cd9660 -o nodev,nosuid /dev/cd0a `pwd`/cdrom

should be used.


Tested on NetBSD 4.99.29


Regards,

-- 
View this message in context: http://www.nabble.com/Chapter-12.5-
should-be-updated-tf4449413.html#a12695011
Sent from the netbsd-docs general mailing list archive at
Nabble.com.


Re: Chapter 12.5 should be updated
country flaguser name
Germany
2007-09-20 18:15:46
Hi,

> The command
> 
> mount -t cd9660 /dev/cd0a `pwd`/cdrom
> 
> does not work, instead 
> 
> mount -t cd9660 -o nodev,nosuid /dev/cd0a `pwd`/cdrom
> 
> should be used.

Thank you for reporting this! But it still works on NetBSD
3.1 and
NetBSD 4.0_BETA1
What are the reasons that it doesn't work on -current any
more?


> Tested on NetBSD 4.99.29

The guide doesn't support NetBSD-current.


kind regards, Mark Weinem

Re: Chapter 12.5 should be updated
country flaguser name
United Kingdom
2007-09-21 01:51:37
On Fri, Sep 21, 2007 at 01:15:46AM +0200, Mark Weinem
wrote:
> Hi,
> 
> > The command
> > 
> > mount -t cd9660 /dev/cd0a `pwd`/cdrom
> > 
> > does not work, instead 
> > 
> > mount -t cd9660 -o nodev,nosuid /dev/cd0a
`pwd`/cdrom
> > 
> > should be used.
> 
> Thank you for reporting this! But it still works on
NetBSD 3.1 and
> NetBSD 4.0_BETA1
> What are the reasons that it doesn't work on -current
any more?

I suspect it has something to do with kauth ....

	David

-- 
David Laight: davidl8s.co.uk

Re: Chapter 12.5 should be updated
country flaguser name
Germany
2007-09-21 04:01:43
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.

Martin

Re: Chapter 12.5 should be updated
country flaguser name
Germany
2007-09-23 15:50:22
Should be fixed now.

Thank you & kind regards,

Mark Weinem

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )