Re: preserving file attributes from make install in rpm spec file

Matthew Miller <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Thu, Dec 13, 2007 at 10:20:45AM -0500, Bob Beers wrote:
> Obviously I'm overlooking something.  I am sure this is not that unusual.
> BTW, and I know I should not do it, if I build the rpm as root,
>  the permissions are fine, but all files are root:root.

The solution is to not set the permissions (for permissions out of the
ordinary) in the Makefile but to do so in the %files section of the
specfile.

-- 
Matthew Miller           [email protected]          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.