[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rh-rpm] File owner when build rpm
- From: Bart Whiteley <bwhiteley novell com>
- To: rpm-list redhat com
- Subject: Re: rh-rpm] File owner when build rpm
- Date: Tue, 16 Sep 2003 00:03:23 -0600
Actually Theewara's problem is at install time, not
build time. Tar isn't used at install time. The answer
is simply to make sure the %defattr directive is the first
line in the %files section. The spec:
%files
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%defattr(-,root,root)
Should instead read
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
On Mon, 2003-09-15 at 22:20, R P Herrold wrote:
> On Mon, 15 Sep 2003, Theewara Vorakosit wrote:
>
> > I create RPM by "make rpm" which is a m4 macro for
> > autoconf/automake. I do this using normal user, named
> > user 1, not root. When I install this rpm at other host,
> > it shows error "user1 is not found, using root". Can I
> > force file owner in RPM package own by root?
>
> <snip .spec file>
>
> The answer is: not easily, but the warning is harmless. The
> message "user1 is not found, using root" is coming from an
> un-tar subprocess, and is warning that it does not see a
> userid matching the one it was created under, on the local
> build system.
>
> As mentioned, the warning is harmless. Just ignore it.
>
> -- Russ Herrold
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list
--
Bart Whiteley <bwhiteley@novell.com>
Novell, Inc. The leading provider of information solutions.
http://www.novell.com/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]