LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why is compiling as root a bad idea? (http://www.linuxquestions.org/questions/linux-software-2/why-is-compiling-as-root-a-bad-idea-496994/)

vxc69 10-30-2006 02:57 PM

Why is compiling as root a bad idea?
 
Same question as above.


Thanks for your time,
vxc

pierre-luc 10-30-2006 03:03 PM

One of the reason is that it may mess up the permissions on the resulting object code. Then, when you want to work back on, it will fail everywhere...

jlliagre 10-30-2006 03:22 PM

And more generally, unless there is no other choice, doing anything as root is a bad idea.

studioj 10-30-2006 05:47 PM

exactly its a "if it doesn't requuire to be root then never be" kind of thing
user can compile and experiment and run source code they are working on all day long without being root because its what non root computer users do.


All times are GMT -5. The time now is 11:23 PM.