Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to get grip to rip and encode from my cdrom without being run with root privileges. How can i do this? I have read through some previous posts with nothing working for me. I tried some of the suggestions of changing my fstab entry for my cdrom with no luck.
can you post the output of "ls -la /dev/" for me? Just the first 6 or 7 lines should have the information we need (you'll see it - whereever it stops saying "cdrom" is p'bly the cutoff of useful information in our case).
The contents of /etc/fstab/ might help, too.
Actually I think the problem is permissions on the applications more than on the devices (maybe). Check permissions on cdparanoia and lame:
whereis cdparanoia (take that and..)
ls -l /path/to/cdparanoia
whereis lame (take that)
ls -l /path/to/lame
Also, to keep from seeing 100+ entries from dev, you can see just the ones you want:
ls -l /dev/cd* /dev/sr* /dev/scd*
[joe@schrock321 joe]$ ls -l /dev/scd*
brw------- 1 joe disk 11, 0 Aug 30 2002 /dev/scd0
brw------- 1 joe disk 11, 1 Aug 30 2002 /dev/scd1
brw-rw---- 1 root disk 11, 2 Aug 30 2002 /dev/scd2
brw-rw---- 1 root disk 11, 3 Aug 30 2002 /dev/scd3
brw-rw---- 1 root disk 11, 4 Aug 30 2002 /dev/scd4
brw-rw---- 1 root disk 11, 5 Aug 30 2002 /dev/scd5
brw-rw---- 1 root disk 11, 6 Aug 30 2002 /dev/scd6
brw-rw---- 1 root disk 11, 7 Aug 30 2002 /dev/scd7
ok fixed it its back to root again for user/group permissions for cdparanoia. any more ideas on how to get my system to rip cd's with user privileges. not really a big deal i guess but just allot of hassle. you would think it would be obvious on how to do this.
And finally, let's make sure you're permissions are good on your devices:
ls -l /dev/scd0
ls -l /dev/scd1
Then, we will check your grip config:
Fire up grip, click on the config tab and make sure the /dev/cdrom is the device listed. Then click the "rip" tab within config, and make sure cdparanoia is pulled down in the list.
Click on the encode tab, make sure lame is an option, and that it's selected in the drop down.
Now, after we see the permissions on those devices, we will try it (assuming they are set correctly) and see how that goes. If it doesn't work out (after we set the correct permissions) we will give some other things a run
got mp3 support im playing a mp3 file right now. like i said it works when running grip as root. you know at the command line type su enter password then grip. no problems but like i said if im not running this program as root it just acts like its ripping but gives me empty files in about .000025 seconds its done ripping and encoding.
same thing if i was to do all of this from the command line. grip is just a front end for cdparanoia and lame and other rippers and encoders right. if i rip a cd with cdparanoia at the command line i must be root also.
[joe@schrock321 joe]$ ls -l /dev/scd0
brw-rw---- 1 joe disk 11, 0 Aug 30 2002 /dev/scd0
[joe@schrock321 joe]$ ls -l /dev/scd1
brw-rw---- 1 joe disk 11, 1 Aug 30 2002 /dev/scd1
[root@schrock321 joe]# chown root /dev/scd0 /dev/scd1
[root@schrock321 joe]# chmod 555 /dev/scd0 /dev/scd1
[root@schrock321 joe]# ls -l /dev/scd0 /dev/scd1
br-xr-xr-x 1 root disk 11, 0 Aug 30 2002 /dev/scd0
br-xr-xr-x 1 root disk 11, 1 Aug 30 2002 /dev/scd1
didn't know scd was suppose to be owned by root also. after changing owner and permissions same old thing. i guess its no big deal MasterC i need to be root to burn cd's so i guess i just need to be root to rip cd's also. its just kind of annoying thats all. i mean after i get done ripping and encoding a cd using grip i haft to go to /root/mp3 to get my files.
its no big deal MasterC if you or someone else doesn't know off the top of your head no biggie you have way more important problems around here to solve for people than this.
That just sucks. Fire up xcdroast (if you don't have it installed get it, and install it from www.freshmeat.net) and the first screen you should see (assuming you are just installing it) will be a screen that chmod's everything to the necessary attributes to execute certain apps to the necessary mods. Then, all you have to do is add your user to the group xcdwrite (or whatever you create) and then you should have the ability as your user to burn cd's.
I'm pretty sure I was in the same boat when I first got my system up (Slack 8.1) however it's been so long I can't remember exactly the steps I followed; however I'm sure it's detailed in the README/INSTALL file(s).
With that, it also might chmod/chown your ripping programs (such as cdparanoia) and fix that in the same click of the mouse.
HTH and makes sense
And as for more important things, I'm here to help anyone who needs it, that includes such things as setting up users to rip/burn CD's I would really like to get this setup so you can get the ball rolling...
**Last second thought**
In grip, where are the files being ripped to? If this directory isn't writeable by your user (or if you are using the command line cdparanoia, set the directory to one writeable by your user) then it's possible that's the problem.