Re: install rpm\'s as root or ...? was Re: Custom Kernel Creation Documentation Online

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

 



Fernando Fernández Pedraza wrote:
Hello Dave,



However, source RPMS should never be
installed or built as root.


Yes, I've heard about this before, but I still don't understand why.
Could you please elaborate?

It's a security issue. The person writing the spec for the RPM, or indeed the upstream package maintainer, could have put "rm -rf /" as a command in the installation script for instance. There are a wide variety of similar issues to consider. When building as a regular user, the worst that can happen is whatever damage the building user has permission to do to the system, which will usually mean only deleting or overwriting their own files.


Paul.




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

  Powered by Linux