Fedora News Updates #1

Philip Wyett philip at wyett.net
Wed Jan 7 18:07:56 UTC 2004


On Wed, 2004-01-07 at 17:32, Stephen Walton wrote:
> On Wed, 2004-01-07 at 09:25, Rui Miguel Seabra wrote:
> > On Wed, 2004-01-07 at 16:28, Colin Charles wrote:
> > > On Wed, 2004-01-07 at 19:12, Rui Miguel Seabra wrote:
> > > > I hope Fedora News stops instructing newbies to use root for anything
> > > Erm, I don't think thats what I did.
> > 
> > I don't know who actually wrote the article, but the article clearly
> > says:
> > 
> > su -
> > cvs -d...
> > tar ...
> > rpmbuild ...
> > rpm ...
> 
> I don't know about that specific article, but the one on creating an RPM
> of Acrobat used root for everything as well.  Unfortunately, the only
> way around using root for "rpmbuild", as far as I can tell, is to do
> "chmod -R user:user /usr/src".  Which I do myself, actually, but I am
> not sure of all the implications.
> 
> True story:  an early version of the HP C compiler on HP-UX tried to "rm
> /dev/null" which, of course, succeeded if you ran cc as root and the
> system then crashed.  So I fully agree with the central idea of not
> using root unless you must.  I think the real question is, how best to
> not require root for things like rpmrebuild?

http://www.tuxfan.homeip.net:8080/hack.html

Originally written by Mike Harris of Red Hat. This is the best way to
setup and have a 'user' rpmbuild environment.

Regards

Philip Wyett

-- 

Email: philip at wyett.net
Website: http://www.wyett.net
Public key: http://www.wyett.net/gpg/public_key.txt

--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040107/2274c9da/attachment-0001.sig>


More information about the fedora-list mailing list