DVD not playing as user!!!!
Hi people .
i have one short question. why can't i play DVDs with MPlayer logged as user. as root it is working perfect. i get the error message : Couldn't open DVD device /dev/cdrom any helpe would be appreciated! thanks a lot! |
Go into a console as root and type:
ls -l /dev/cdrom You will probably get something including bits like this: -r-xr-x--- [something] root root [something] /dev/cdrom --> /dev/hdx (x will be a number) or maybe: -r-xr-xr-x [something] root root [something] /dev/cdrom --> /dev/hdx If it's the first one, then you need to type: chmod a+rx /dev/cdrom if you want anyone to be able to use it. If it's the second one, then you'll need to do: ls -l /dev/hdx And you should get something like -r-xr-x--- [some other bits] root root [something] /dev/hdx Then you'll need: chmod a+rx /dev/hdx If you don't want all users to be able to use it, you'll have to do the following: groupadd dvd chown :dvd /dev/cdrom chown :dvd /dev/hdx Then you'll have to edit /etc/groups and add the user names you want to be able to play DVDs to the group dvd. Hope this helps Guy |
Thanks a lot Guy,
that solved my problem! wow! one day maybe i will know as much as other cool users know! :) Can you tell me why i can't eject my CD when i mount the DVD-Rom or why i can't mount it without CD inside it? TheShemeta |
because it just doesn't mak sense.... what normally happens when you eject a CD in the middle of playing a game in widnows? BSOD? it shouldn't be possibloe to do it...
as for why not when it's empty.... well.. there's isn't anything there! what do you expect to happen?? Linux is deisgned to be stable... how stable is it to be able to physically remove a filesystem while it's in use?? |
All times are GMT -5. The time now is 12:50 AM. |