Don't get music from audio CD as user
i get nearly the same problem, only that i am usin fluxbox
and xmms denies the access to the audio cd as user
but access as root is granted....
what do i have to do to get access as user ??
cd audio access ide xmms slackware mount
do "ls -l /dev/cdrom"
there is sometihng like an systemsoftware link pointin to -----> xxxxx
then change your cdrom to group xxxxx by typin
"chgrp cdrom /dev/xxxxx" e.g hdb or hdc
then add youself to "cdrom" and "audio" group by typin
"usermod -G cdrom,audio USERNAME"
replace USERNAME by your userlogin in linux
don't forget to do it as su (superuser=root)
thx for your help
as for what i read is necesary to change the ide cdrom drive trough chgrp to cdrom, because inthe system the ide cdrom belongs original to the disk group
and if you add the user to the disk group, he has access to delete the entire harddrive
Another way to make slack more user friendly
Here is how I do it;
Originally Posted by lestoil
First I change the default setup in /etc/fstab here is my fstab:
That way I can right click on the desktop and create a kde link to open my cdrom without having to mess with group permissions. As you can see I triple boot and am able to copy stuff from other os installs. It is a good idea to use the noauto option for cdrom and floppy as the automount function can cause havoc in KDE!
/dev/hdb2 swap swap defaults 0 0
/dev/hdb3 / reiserfs defaults 1 1
/dev/hda1 /assholeNT ntfs ro 1 0
/dev/hdb1 /kubuntu ext3 ro 1 0
/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
Even so if you have kscd running when you put in a data cd you have to exit kscd to eject the cd properly...it is one of the KDE shortcomings that automount is haywire. Remember that you have to wait 5 seconds after unmounting a volume before you eject the media..this applies to both the cdrom and the floppy...the program mount has a mandatory delay that alows the filesystem write to complete. In NTFS based windows OSes the lack of a file system write time buffer sometimes causes system hangs...so this situation is not just a linux quirk. At least in kde you can get around the hang without having to off processes!
I can understand why Patrick chose to have the safest setting at install but if you are the only user and know why it can be unsafe to alow cd access on a networked computer then it makes sense to not alow it by default. I also make a copy of the shutdown bin from /sbin, and place it in bin then do a chmod u+x /bin/shutdown ....this way I can create a little script that I call byebye.sh
and another called rebooter.sh
shutdown -h now
if you right click on the scripts you can make them executable through the properties menu....I then save them in a folder in my /home that I call scripts.
shutdown -r now
After doing that I add them as program items to the system menu in the kde programs menu...add fancy icons and make sure the path is set. That way I have a shutdown and reboot in my user profile ...I also do this for my wife and daughters profiles.