From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [SOLVED] Mysterious sudoers.d error
Date: Thu, 27 Aug 2015 09:22:48 +0000 [thread overview]
Message-ID: <20150827092247.GA1946@acm.fritz.box> (raw)
In-Reply-To: <20150827011257.GA22962@waltdnes.org>
Hello, Walter.
On Wed, Aug 26, 2015 at 09:12:57PM -0400, Walter Dnes wrote:
> On Wed, Aug 26, 2015 at 07:28:41PM -0400, Alec Ten Harmsel wrote
> > On Wed, Aug 26, 2015 at 07:20:37PM -0400, Walter Dnes wrote:
> > > I've just switched from cdparanoia to cdda2wav, to get track
> > > names/artists. As a regular user, I ran...
> > >
> > > cdda2wav -vall dev=1,0,0 cddb=0 -paranoia -B
> > >
> > > I got a bunch of complaints about insufficient read and write
> > > privileges, but it seems to work OK. I ran the same command as root,
> > > and no error messages.
> >
> > What exactly are the error messages? Most likely you just need to be
> > added to the group that has access to CD drives or something like that.
> I am a member of groups "cdrom" and "cdrw". Here are the messages...
> [d531][waltdnes][~/music/glenn_miller_2a] cdda2wav -vall dev=1,0,0 cddb=0 -paranoia -B
> cdda2wav: Insufficient 'file read' privileges. You will not be able to open all needed devices.
> cdda2wav: Insufficient 'file write' privileges. You will not be able to open all needed devices.
> cdda2wav: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems.
> cdda2wav: Insufficient 'priocntl' privileges. You may get jitter.
> cdda2wav: Insufficient 'network' privileges. You will not be able to do remote SCSI.
> Type: ROM, Vendor 'TSSTcorp' Model 'CDRWDVD TS-H493B' Revision 'D200' MMC+CDDA
> 569344 bytes buffer memory requested, transfer size 131072 bytes, 4 buffers, 55 sectors
> #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
> AUDIOtrack pre-emphasis copy-permitted tracktype channels
Don't we just love software that gives half-error messages? Just how
difficult would it have been for the author to have identified just what
files and devices you couldn't access?
Is your user a member of the audio group? I do CD ripping sometimes, and
the three groups acm is a member of which seem relevant are audio, cdrom,
and cdrw.
Running ripping as root isn't ideal.
[ .... ]
> --
> Walter Dnes <waltdnes@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2015-08-27 9:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 23:20 [gentoo-user] Mysterious sudoers.d error Walter Dnes
2015-08-26 23:28 ` Alec Ten Harmsel
2015-08-27 1:12 ` [gentoo-user] [SOLVED] " Walter Dnes
2015-08-27 9:22 ` Alan Mackenzie [this message]
2015-08-27 22:11 ` Walter Dnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150827092247.GA1946@acm.fritz.box \
--to=acm@muc.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox