View previous topic :: View next topic |
Author |
Message |
bobbarnes1981 n00b
Joined: 07 Jul 2005 Posts: 15
|
Posted: Tue Sep 27, 2005 5:49 pm Post subject: cdrom & cdrw permission problem |
|
|
i've just updated my Gentoo install and obviously updated some of the 'etc' files badly cos now i cannot access my cdrom or cdrw, i can fix it by doing
chmod a+rw /dev/sg*
chmod a+rw /dev/hd*
but when i reboot i have to do it again, or i get a 'cannot read superblock' error, when i try to mount them.
does anyone have any ideas about this? |
|
Back to top |
|
|
lost+found Guru
Joined: 15 Nov 2004 Posts: 509 Location: North~Sea~Coa~s~~t~~~
|
Posted: Tue Sep 27, 2005 5:59 pm Post subject: |
|
|
You upgraded to udev from devfs perhaps? You can add your uid to the cdrom/cdrw group. Than it works.
/etc/group:
Code: | cdrom:x:19:userid1,userid2 |
Last edited by lost+found on Tue Sep 27, 2005 6:01 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54834 Location: 56N 3W
|
Posted: Tue Sep 27, 2005 5:59 pm Post subject: |
|
|
bobbarnes1981,
Check the groups you belon to and the group /dev/sg* and /dev/hd* belong to.
If needed, add your user to the group, probably cdrom.
Do not add your user to the disk group - that allows all uses raw access to to the hard drives.
You could accidently trash your partition tables that way.
If thats whats needed, you must write some udev rules to either add rw permissiosns to the drives in question or allocate them to a new (non disk) group. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|