From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B879913989A for ; Thu, 27 Aug 2015 09:21:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F14861423C; Thu, 27 Aug 2015 09:21:46 +0000 (UTC) Received: from mail.muc.de (mail.muc.de [193.149.48.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98DC6141EC for ; Thu, 27 Aug 2015 09:21:45 +0000 (UTC) Received: (qmail 28015 invoked by uid 3782); 27 Aug 2015 09:21:43 -0000 Received: from acm.muc.de (p5B146AEB.dip0.t-ipconnect.de [91.20.106.235]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 27 Aug 2015 11:21:43 +0200 Received: (qmail 1978 invoked by uid 1000); 27 Aug 2015 09:22:48 -0000 Date: Thu, 27 Aug 2015 09:22:48 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [SOLVED] Mysterious sudoers.d error Message-ID: <20150827092247.GA1946@acm.fritz.box> References: <20150826232037.GB23022@waltdnes.org> <20150826232841.GB522@apio.adsroot.itcs.umich.edu> <20150827011257.GA22962@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150827011257.GA22962@waltdnes.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: fd3d0185-4334-4e48-b878-5a8b034b39c2 X-Archives-Hash: 2f6ac8d017e47e3449681086b37185f0 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 > I don't run "desktop environments"; I run useful applications -- Alan Mackenzie (Nuremberg, Germany).