[Sussex] cdrom access to all users

Brendan Whelan b_whelan at mistral.co.uk
Wed May 11 08:23:30 UTC 2005


Rupert,

Rupert,

Thanks for the email - "chmod 666 /dev/hda" allowed access to all users.

Brendan

----- Original Message -----
From: "Rupert Swarbrick" <rupert.swarbrick at lineone.net>
To: <fyremoon at fyremoon.net>; "LUG email list for the Sussex Counties"
<sussex at mailman.lug.org.uk>
Sent: Monday, May 09, 2005 11:44 PM
Subject: Re: [Sussex] cdrom access to all users


> -----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-----
>
> _______________________________________________
> Sussex mailing list
> Sussex at mailman.lug.org.uk
> Sussex LUG Website: http://www.sussex.lug.org.uk/
> http://mailman.lug.org.uk/mailman/listinfo/sussex
>






More information about the Sussex mailing list