Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [SOLVED] Mysterious sudoers.d error
Date: Thu, 27 Aug 2015 09:21:53
Message-Id: 20150827092247.GA1946@acm.fritz.box
In Reply to: [gentoo-user] [SOLVED] Mysterious sudoers.d error by Walter Dnes
1 Hello, Walter.
2
3 On Wed, Aug 26, 2015 at 09:12:57PM -0400, Walter Dnes wrote:
4 > On Wed, Aug 26, 2015 at 07:28:41PM -0400, Alec Ten Harmsel wrote
5 > > On Wed, Aug 26, 2015 at 07:20:37PM -0400, Walter Dnes wrote:
6 > > > I've just switched from cdparanoia to cdda2wav, to get track
7 > > > names/artists. As a regular user, I ran...
8 > > >
9 > > > cdda2wav -vall dev=1,0,0 cddb=0 -paranoia -B
10 > > >
11 > > > I got a bunch of complaints about insufficient read and write
12 > > > privileges, but it seems to work OK. I ran the same command as root,
13 > > > and no error messages.
14 > >
15 > > What exactly are the error messages? Most likely you just need to be
16 > > added to the group that has access to CD drives or something like that.
17
18 > I am a member of groups "cdrom" and "cdrw". Here are the messages...
19
20 > [d531][waltdnes][~/music/glenn_miller_2a] cdda2wav -vall dev=1,0,0 cddb=0 -paranoia -B
21 > cdda2wav: Insufficient 'file read' privileges. You will not be able to open all needed devices.
22 > cdda2wav: Insufficient 'file write' privileges. You will not be able to open all needed devices.
23 > cdda2wav: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems.
24 > cdda2wav: Insufficient 'priocntl' privileges. You may get jitter.
25 > cdda2wav: Insufficient 'network' privileges. You will not be able to do remote SCSI.
26 > Type: ROM, Vendor 'TSSTcorp' Model 'CDRWDVD TS-H493B' Revision 'D200' MMC+CDDA
27 > 569344 bytes buffer memory requested, transfer size 131072 bytes, 4 buffers, 55 sectors
28 > #Cdda2wav version 3.01a16_linux_4.0.5-gentoo_x86_64_intel-r--core-tm-2-duo-cpu-e4600-@-2.40ghz, real time sched., soundcard, libparanoia support
29 > AUDIOtrack pre-emphasis copy-permitted tracktype channels
30
31 Don't we just love software that gives half-error messages? Just how
32 difficult would it have been for the author to have identified just what
33 files and devices you couldn't access?
34
35 Is your user a member of the audio group? I do CD ripping sometimes, and
36 the three groups acm is a member of which seem relevant are audio, cdrom,
37 and cdrw.
38
39 Running ripping as root isn't ideal.
40
41 [ .... ]
42
43 > --
44 > Walter Dnes <waltdnes@××××××××.org>
45 > I don't run "desktop environments"; I run useful applications
46
47 --
48 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] [SOLVED] Mysterious sudoers.d error Walter Dnes <waltdnes@××××××××.org>