[Sussex] cdrom access to all users

Rupert Swarbrick rupert.swarbrick at lineone.net
Mon May 9 21:45:34 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Crowhurst wrote:
> On Mon, May 9, 2005 17:10, Brendan Whelan said:
> 
>>Ronan,
>>
>>Thanks for the response - using   "grep cdrom /etc/group" didn't return
>>anything.
>>
>>I changed "user" to "users" in fstab and when a non-root user enters
>>"eject
>>/media/cdrom" they get
>>"Unable to open '/dev/hda' "          Root can eject the CD.
>>
>>Any suggestions?
> 
> 
> Has anyone suggested changing the permissions on the device /dev/hda,
> perhaps to chmod 666 /dev/hda?
> 
> Add to the fstab:
> 
> /dev/hda  /media/cdrom  iso9660  noauto,user,exec,ro 0 0
> 
> So that all users can mount and umount the cdrom drive.
> 
> --
> John

I'm afraid I only use Ubuntu, so can't always speak about FC3, but you
might want to make sure that you want mount/umount not pmount/pumount,
which is designed to make device access available to users (e.g. when
you stick in a random usb memory stick etc.)

More importantly, /dev/hda is almost certainly your main hard drive,
providing that you aren't on a scsi system. Does the cdrom actually work
at all? Or should it say /dev/hdc or something?

Good luck,

Rupert

(Who's in a good mood, as he's just got software suspend 2 working on
his laptop - 20sec boot times! And his laptop now has a 3 day uptime :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQn/ntUbXf6SW2FaGAQJbKAP+O8UOo1dII2t/m63p122fkNBC7qgSjik0
y3mGMKAYomd6SwE8K3MCiwpprze7/hnaL6WdVQTIycG3uyeWF/tSHGZMmKE+miV7
ZuQ/GMkbHriXy9m9QGU4HJ/9wL+Q1buiCmzM/JiiccA3CD4jHqzbB0aNIARuwxGd
CRB4HP6KkGU=
=Fjdc
-----END PGP SIGNATURE-----




More information about the Sussex mailing list