Re: how to get a specfile from an RPM

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

 



Mikkel L. Ellertson wrote:

> For many reasons, including security, I would never build an RPM as
> root. Something as simple as a mistake in setting buildroot, or a
> makefile that does not follow %prefix correctly when installing, can
> mess up the build system when you build as root. But when you build
> as a user, and use buildroot, you get all the files in the proper
> directories relative to buildroot, and they are packaged correctly.
> You control the final ownership and permission in the spec file, so
> they do not have to match what is in the buildroot tree.
> 
> I would be very surprised if many experienced Linux/UNIX programmers
> compile programs, or build RPM's as root. It is not a good practice
> to get into.

If they did compile or build RPM's as root then they aren't experienced.  :-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux