Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2006 08:26:41 +0530
From:      "Girish Venkatachalam" <girishvenkatachalam@gmail.com>
To:        "Viswas Nair" <fysical@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: User permissions to mount CDROM
Message-ID:  <7938ae610608281956vf70fbdj5bd7f4252736df86@mail.gmail.com>
In-Reply-To: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com>
References:  <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/27/06, Viswas Nair <fysical@gmail.com> 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
>
Did u try adding the uid to the mount options in fstab?

For instance, -o uid=1000. In fstab, u have to say,
ro,uid=1000 or something.

HTH,
Girish



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7938ae610608281956vf70fbdj5bd7f4252736df86>