Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: CD Writers
- To: tlug@example.com
- Subject: [tlug] Re: CD Writers
- From: Mike Fabian <mfabian@example.com>
- Date: Mon, 04 Mar 2002 20:20:37 +0100
- Content-type: text/plain; charset=iso-2022-jp
- In-reply-to: <1015268860.11116.19.camel@example.com> (StuartLuppescu's message of "04 Mar 2002 13:07:40 -0600")
- References: <200203030414.g234Ewt24741@example.com><000901c1c251$b289cf40$14cb48d4@example.com><200203031114.g23BEBt26251@example.com><200203031414.g23EEjt27055@example.com><001101c1c279$9bda7060$01cb48d4@example.com><1015179279.1720.7.camel@example.com><20020304054538.GD19432@example.com><1015253876.11116.6.camel@example.com><20020304160803.GA2774@example.com><1015268860.11116.19.camel@example.com>
- Reply-to: mfabian@example.com
- Sender: mfabian@example.com
- User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (ArtificialIntelligence, i386-suse-linux)
Stuart Luppescu <s-luppescu@example.com> writes: > On 月, 2002-03-04 at 10:08, Shimpei Yamashita wrote: >> On Mon, Mar 04, 2002 at 08:57:56AM -0600, >> Stuart Luppescu wrote: >> > > > /usr/bin/cdrecord: Operation not permitted. WARNING: Cannot do >> > > > mlockall(2). >> >> This one disables paging for a block of memory. >> >> > > > /usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using >> > > > setpriority(). >> >> And this one lowers a process's priority. For understandable reasons, >> both of these system calls require root access. It has nothing to do with >> file permissions. cdrecord may be using other privileged calls, too. > > Yup. That's what I thought. So, the instructions on the gcombust page > (http://www.abo.fi/~jmunsin/gcombust/FAQ.shtml) about getting it to work > as a regular user ("gcombust shouldn't be ran as root") are ... > irrelevant? contradictory? misleading? The only alternative is to make > cdrecord setgid and give the group executable rights, I guess. The following part from the 'cdrecord' man-page explains it: man cdrecord> If you don't want to allow users to become root on your man cdrecord> system, cdrecord may safely be installed suid root. This man cdrecord> allows all users or a group of users with no root privi- man cdrecord> leges to use cdrecord. Cdrecord in this case checks, if man cdrecord> the real user would have been able to read the specified man cdrecord> files. To give all user access to use cdrecord, enter: man cdrecord> man cdrecord> chown root /usr/local/bin/cdrecord man cdrecord> chmod 4711 /usr/local/bin/cdrecord man cdrecord> man cdrecord> To give a restricted group of users access to cdrecord man cdrecord> enter: man cdrecord> man cdrecord> chown root /usr/local/bin/cdrecord man cdrecord> chgrp cdburners /usr/local/bin/cdrecord man cdrecord> chmod 4710 /usr/local/bin/cdrecord man cdrecord> man cdrecord> and add a group cdburners on your system. man cdrecord> man cdrecord> Never give write permissions for non root users to the man cdrecord> /dev/scg? devices unless you would allow anybody to man cdrecord> read/write/format all your disks. -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- References:
- [tlug] CD Writers
- From: Eric O. Flores
- Re: [tlug] CD Writers
- From: Josh Glover
- Re: [tlug] CD Writers
- From: Eric O. Flores
- Re: [tlug] CD Writers
- From: Eric O. Flores
- Re: [tlug] CD Writers
- From: Josh Glover
- Re: [tlug] CD Writers
- From: Stuart Luppescu
- Re: [tlug] CD Writers
- From: A.Sajjad Zaidi
- Re: [tlug] CD Writers
- From: Stuart Luppescu
- Re: [tlug] CD Writers
- From: Shimpei Yamashita
- Re: [tlug] CD Writers
- From: Stuart Luppescu
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] CD Writers
- Next by Date: [tlug] localhost problem
- Previous by thread: Re: [tlug] CD Writers
- Next by thread: Re: [tlug] CD Writers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links