View previous topic :: View next topic |
Author |
Message |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Wed Jun 05, 2002 1:14 pm Post subject: running abcde as non-root |
|
|
When I try to rip a CD with abcde to ogg I get this
Code: |
zu@mountaindew ogg $ abcde
Getting CD track info... Grabbing entire CD - tracks: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Retrieving 1 CDDB match...done.
---- John Williams / Star Wars Episode I: The Phantom Menace ----
1: Main Title & The Arrival At Naboo
2: Duel Of The Fates
3: Anakin's Theme
4: Jar Jar's Introduction & The Swim To Otoh Gunga
5: The Sith Spacecraft & The Droid Battle
6: The Trip To The Naboo Temple & The Audience With Boss Nass
7: The Arrival At Tatooine & The Flag Parade
8: He Is The Chosen One
9: Anakin Defeats Sebulba
10: Passage Through The Planet Core
11: Watto's Deal & Kids At Play
12: Panaka And The Queen's Protectors
13: Queen Amidala & The Naboo Palace
14: The Droid Invasion & The Appearance Of Darth Maul
15: Qui-Gon's Noble End
16: The High Council Meeting & Qui-Gon's Funeral
17: Augie's Great Municipal Band & End Credits
Edit selected CDDB data? [y/n] (n):
Is the CD multi-artist? [y/n] (n):
Grabbing track 1: Main Title & The Arrival At Naboo...
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus
Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/
Unable to open cdrom drive; -v will give more information.
The following commands failed to run:
readtrack-1: cdparanoia returned code 1
Finished. Not cleaning /home/zu/ogg/abcde.f3116511.
|
If I do this as root, everything goes fine. Any ideas? TiA |
|
Back to top |
|
 |
klieber Bodhisattva


Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Jun 05, 2002 1:31 pm Post subject: Re: running abcde as non-root |
|
|
Zu` wrote: | If I do this as root, everything goes fine. Any ideas? TiA |
Did you search the archives? Sounds like your user doesn't have permissions in the cdrom group -- this has been covered before.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
 |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Wed Jun 05, 2002 1:41 pm Post subject: |
|
|
I searched the forums on "abcde" since I thought this was a prog specific problem.
Thanks for your help though, I'll add the user to the cdrom group
Greets
EDIT: problem not fixed, getting the same error |
|
Back to top |
|
 |
klieber Bodhisattva


Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Jun 05, 2002 1:48 pm Post subject: |
|
|
Zu` wrote: | EDIT: problem not fixed, getting the same error |
Did you log out and log back in after adding the user account to the cdrom group? Group permissions are only assigned at login time.
Also, what happens if you try to use cdparanoia directly, rather than going through abcde?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
 |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Wed Jun 05, 2002 1:52 pm Post subject: |
|
|
Yes I logged back in and checked with "groups", just to be sure I was in the cdrom group.
As for cdparanoia, I'll have to have a look at it's syntax first. I'm ripping a CD as root now, so I'll check later.
Thanks, |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Jun 05, 2002 4:51 pm Post subject: |
|
|
I have a group called cdrw (well think it isn't user) but do you have access to /dev/sg0 or /dev/sr0, find out what /dev it uses. maybe you need to be part of this in order to rip audio, this operation requires more than just plain cdrom access, can't you find anything in the help of cdparanoia?
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jun 06, 2002 8:13 am Post subject: |
|
|
It uses /dev/sr0
Code: |
lr-xr-xr-x 1 root root 31 Jun 6 2002 /dev/sr0 -> scsi/host0/bus0/target0/lun0/cd
|
my groups:
Code: |
zu@mountaindew $ cat /etc/group
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm
adm::4:root,adm,daemon
tty::5:
disk::6:root,adm
lp::7:lp
mem::8:
kmem::9:
wheel::10:root,zu
floppy::11:root
mail::12:mail
news::13:news
uucp::14:uucp
man::15:man
cron::16:cron
console::17:
audio::18:zu
cdrom::19:zu
dialout::20:root
ftp::21:
games::22:
at::25:at
tape::26:root
video::27:root
squid::31:squid
gdm::32:gdm
xfs::33:xfs
named::40:named
mysql:x:60:
postgres::70:
cdrw::80:
apache::81:
users::100:games,zu
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
utmp:x:406:
nogroup::65533:
nobody::65534:
zu:x:407:zu
xcdwrite:x:408:
|
So, seems like I have a cdrw group as well. Gonna try adding the user there. |
|
Back to top |
|
 |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jun 06, 2002 8:36 am Post subject: |
|
|
Well, that didn't solve the problem at all, I was getting the same error
However, THIS is the right solution:
Code: |
chmod 4711 /usr/bin/cdparanoia
|
Gonna rip some cd's into sweeet ogg files
Greets, and thanks for the help guys |
|
Back to top |
|
 |
EggyToast n00b

Joined: 13 Jul 2003 Posts: 4
|
Posted: Tue Jul 15, 2003 5:42 am Post subject: |
|
|
Just had the same problem -- same error, user was part of both cdrom and cdrw groups, didn't work. the chmod fixed it. Just so you know you're not alone ;D |
|
Back to top |
|
 |
|