User permissions to mount CDROM

Viswas Nair fysical at gmail.com
Sat Sep 2 11:18:28 PDT 2006


Finally got it to work. Thanks a lot everyone.

On 8/30/06, Mark Moellering <mark at msen.com> wrote:
>
> Did you ever get this working?  If not, I can give you my setup...
>
> Mark Moellering
>
> On Monday 28 August 2006 10:52 pm, Viswas Nair wrote:
> > didn't help :(
> >
> > On 8/28/06, ajm <ajm91qw at sbcglobal.net> wrote:
> > > On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote:
> > > > I have been trying to figure out how to give users to mount CD rom
> and
> > >
> > > have
> > >
> > > > been largely unsuccessful. Here are a few things I tried:
> > > > 1) Added user to the 4th field (options) in /etc/fstab
> > > > 2) Added vfs.usermount=1 to  sysctl.conf
> > > > 3) Created a group called optical and added the root and alpha to it
> > > > 4) Added following lines to devfs,conf :
> > > > own /dev/acd0 root:optical
> > > > perm /dev/acd0 0770
> > > > own /dev/acd1 root:optical
> > > > perm /dev/acd1 0770
> > > > 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it
> > >
> > > failed
> > >
> > > > with the message:
> > > > got the error message: /dev/acd0
> > >
> > > Try the following:  create a subdirectory in the users home directory.
> > > example:  /home/steven/cdrom
> > >
> > > mount_cd9660 /dev/acd0 /home/steven/cdrom
> > >
> > > also, you can change the permission to 550
> > > (read/execute by owner and group) no need for write permission.
> > > make sure that your users are part of the optical group.
> > > One more thing...users will not be able to mount anything to /cdrom
> > > since it will belong to root/wheel.  Hope this helped you.
> > >
> > > --
> > > FreeBSD 6.0-RELEASE i386 GENERIC
> > > _______________________________________________
> > > freebsd-questions at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "
> > > freebsd-questions-unsubscribe at freebsd.org"
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list