Re: RE : Re : SOLVED: Problems with cdparanoia
Bill Davidsen <[email protected]>
| Newsgroups | gmane.comp.audio.cd-paranoia.general |
|---|---|
| Message-ID | <[email protected]> |
The "problem" is that you need write permissions on the sg device to write commands to it. One approach would be to make the group of the CD sg device something like "ripper" and add group write. Then set that group on paranoia and set the setgid bit. That uses all standard UNIX features, you could also put just trusted users in the ripper group (also standard and more secure) or try ACLs (POSIX but somewhat less common code and needs tools). -- bill davidsen <[email protected]> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. Hi ! Are you doing this as root? If nhot, you can access the /dev/cdrom device for read as any user (typical permissions) but can't write to /dev/sg0 as a normal user, so you can't write the read command to the device. Remember that at low level when you send data to the device it is a write to the generic device. You are right, that's exactly the problem !!! (thanks to Kevin too for its answer !!! ;-) ) I have tested this week end and I can use libparanoia as root but only as root ! So I have 2 questions : 1) Why paranoia need to be root to EXTRACT (I mean not to write) informations. Why it is not like playing an audio cd ??? I can understand for cdrecord but I definitely don't understand for a ripp of cd ! ;-) 2) Is there any solution to fix this horrible problem ? I have written my own encoding application (for GNUStep), and I want that the user use itself the application (because of the user context and easy use). I have tested many configurations of file rights and nothing works ... HELP ! ;-) Thanks for help Stéphane PERON Ce message contient des informations confidentielles ou appartenant au Crédit Lyonnais et est établi à l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, doit être préalablement autorisée. Tout message électronique est susceptible d'altération et son intégrité ne peut être assurée. Le Crédit Lyonnais décline toute responsabilité au titre de ce message s'il a été modifié ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur de l'erreur de distribution et de la destruction du message. Crédit Lyonnais, SA au capital de Euros 1.807.874.827 - RCS Lyon B 954 509 741 Siège Central : 19, boulevard des Italiens. 75002 Paris. France This e-mail contains confidential information or information belonging to Crédit Lyonnais and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. Crédit Lyonnais shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. Crédit Lyonnais SA. Share Capital of Euros 1.807.874.827. Registered Office : Lyon (B 954 509 741) Central and administrative Office : 19, boulevard des Italiens. 75002 Paris. France