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

Re: %attr directive issues when installing an rpms



On Fri, Jul 20, 2001 at 12:09:24PM -0400, Peter Tsimmerman wrote:
...
> 
> On Thu, Jul 19, 2001 at 03:50PM , Jeff Johnson wrote:
> > Equivalently, if you're from MO :-), install the package, and check
> > the permissions after install.
> Sorry, What is it "from MO :-)" ?

An obscure reference to the old saying

	I'm from Missouri, so you have to show me.

> 
> On Thu, Jul 19, 2001 at 03:43PM , Tim Mooney wrote:
> > The assumption is that `root' is doing the package install, though.
> > If the install is done as a normal user, then assuming you have 
> > permission to both modify the RPM databases (you do here) and drop 
> > the files into place (you apparently do here), those parts will go 
> > ok, but the actual shown and chgrp calls will fail, because most 
> > UNIXes won't let you do that if you're not root.
> 
> According to all of this, if I understood correct, the following
> will happened :  
> 
> If now our sysadmin will install the newly built
> package (as root) and will run my previous command :
> "ls -l /home2/ptsimmer/peter2/cdp-0.33/13/cdp-0.33"    <=============
> then will not be any cause of confusion and actual user/group 
> will be shown ?

Yup. After installing the package (as root), the permissions should be as
desired. However, the paths after install will be as mentioned in the %files,
without the leading $RPM_BUILD_ROOT component.

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] []