LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CDs Only Play Under Root (https://www.linuxquestions.org/questions/linux-newbie-8/cds-only-play-under-root-204470/)

zensufi 07-13-2004 08:49 AM

CDs Only Play Under Root
 
I'm setting up my first Linux distro (Slackware 9.1) and am quickly being surprised by how obvious things are often NOT (I taught myself emacs and then proudly modified the lilo.conf file to decrease the time spent on the lilo screen during bootup - turns out lilo doesn't read the lilo.conf file during bootup - you have to reinstall lilo! - quite obvious in retrospect).

Anyway, my problem:

When I try to play CDs with the GNOME CD player, I get a message (from within the program) that there is a disk error. However, when I log in under root, I am able to play the CDs (the CD player claims it is playing the CD and correctly tells me the number of minutes on each track - I don't have sound yet, but I'm saving that problem for when I get the CD player working under my user name). Even though you cannot mount a music CD, I edited the fstab file so that under CD it set says user instead of owner. This did not help. Is there some sort of permissions on the CD drive I don't know about?

Thanks,

Brian

Genesee 07-13-2004 09:09 AM

have you checked the permissions on /dev/cdrom and the device it points to?

do "ls -l /dev/cdrom" to see where /dev/cdrom points

read this to learn about permissions:
https://www.redhat.com/docs/manuals/...ownership.html

:cool:

zensufi 07-13-2004 10:02 AM

Checked Permissions
 
I checked. The complete text is as follows:

lrwxrwxrwx 1 root root 8 Jul 12 15:43 /dev/cdrom -> /dev/hdc

So, everyone has permission, and /dev/cdrom points to /dev/hdc as it should!\

Hmmm... Other ideas?

Brian

Andrew Benton 07-13-2004 10:33 AM

I've never got the gnome cd player to work. Totem works. Have you got Totem?

Genesee 07-13-2004 10:50 AM

did you check the permissions on /dev/hdc?

"ls -l /dev/hdc"

zensufi 07-13-2004 11:00 AM

Permissions to /dev/hdc
 
I checked permissions to /dev/hdc:

brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdc

Ah hah!

I changed the permissions:

chmod 666 /dev/hdc

and it works!

Thanks for your help!

Brian

Genesee 07-13-2004 11:06 AM

welcome
:cool:

blufire 07-27-2004 08:50 AM

I have a similar problem kinda. I am trying to see and read data files and mpeg files off of my cd-rom. I dont have any problems with playing music or dvds to play mussic i installed xmms and it works fine to play dvds i used apt-get to get mplayer 9 and it works great with dvds my cd is as scd0 and i checked all the permisions and across the board for the users exept the root it says rw- i used the chmod 666/dev/scd0 to change permisions is there anything else i just want to read my data cd-roms i have written on my old windows xp machine and some mpeg video files i downloaded and put on cd-rom i cant get mplayer to play them becuase nothing is showing up on the cdrom mnt folder my distro is red hat 9 (shrike) i am a newbie and working hard to get knowledge. please help me

Kroenecker 07-27-2004 09:24 AM

First of all you should start a new thread and/or search. I will go ahead and give a go at this...you are mounting the cdroms in order to see the data, right? That is the only thing that I can think of that would be getting in your way. You never have to mount music/dvds.

Oh and by the way to the original poster if you were to add your user to the group data, then you wouldn't have to change the hdc permissions to world readable.

blufire 07-27-2004 10:40 AM

sweet that did it i had to mount it with your leading i put this in the terminal $ mount /dev/cdrom
then after that in my x-windows in the /mnt/cdrom directory all my files showed up
thankyou again

z3z1nh0 07-27-2004 10:46 AM

Try it
 
# chmod 777 /mnt/cdrom
# chmod 666 /dev/hdc

after open the file etc/fstab and where you find the word "owner" you delete and put "user".

it worked out with me! :D

blufire 07-27-2004 12:06 PM

ok now next thing on my list is this recompile mplayer --disable-detecting-cpu for optimal performance how would i do that and is it really necessary ??


All times are GMT -5. The time now is 06:27 PM.