Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrom & cdrw permission problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bobbarnes1981
n00b
n00b


Joined: 07 Jul 2005
Posts: 15

PostPosted: Tue Sep 27, 2005 5:49 pm    Post subject: cdrom & cdrw permission problem Reply with quote

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
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Tue Sep 27, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Tue Sep 27, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum