[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: error: can't unlink opt-RPMDELETE: directory



On Wed, Jan 30, 2002 at 10:42:15AM -0600, Andrew Chapman wrote:
> 
> One quick question, I work on libraries, I am not a system 
> administrator, so I do not have root permission. I build the 
> rpm file in a 'non-root' account. Is this bad practice, should 
> I build as root?
> 

I build as non-root all the time. Make sure you have
	%files
	%defattr(-,root,root)
that takes care of 99% of the problems.

> > 
> > FWIW, you're on your own if you insist on using the Big Hammer: --force.
> 
> The default install options I use are '-U --replacefiles' . This 
> use of the Big Hammer was a last resourt, type of, if the Big 
> Hammer does not work we will have to look elsewhere for the 
> cause of the error.
> 

Understood. rpm is a PITA :-)

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []