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

RE: %attr directive issues when installing an rpms



Title: RE: %attr directive issues when installing an rpms

Thanks again, Jeff.

On Fri, Jul 20, 2001 at 12:47PM, Jeff Johnson wrote:

> 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.

Let me ask this again (may be it wasn't formulated clean):

Everything is understandable for me about permissions and paths, but
what about owner and group ? What will be shown in my case after installing the package (as root) and implementing the specified

"ls -l" command :
               ptsimmer dev
                   OR
                 root  root



Thanks.

Peter Tsimerman



-----Original Message-----
From: Jeff Johnson [mailto:jbj@JBJ.ORG]
Sent: Friday, July 20, 2001 12:47 PM
To: rpm-list@redhat.com
Subject: 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



_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list


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