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

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



On Wednesday, 30 January 2002, Andrew Chapman wrote:
[snip]
> 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?

Actually, it's the best practice there is. If you don't build
as root, you (usually) have no write access to sensitive system
directories and can't overwrite anything when rpm is doing
%install (or anything else, actually), even if the %install
part is broken enough to install things outside $RPM_BUILD_ROOT
(or if you set it to some stupid location like /).

HTH

-- 
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)we.are.one.pl>





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