User permissions to mount CDROM

Girish Venkatachalam girishvenkatachalam at gmail.com
Tue Aug 29 02:58:26 UTC 2006


On 8/27/06, Viswas Nair <fysical at 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


More information about the freebsd-questions mailing list