[Linux-disciples] Preferred install location

Adam Rosi-Kessel adam at rosi-kessel.org
Tue Jan 11 17:23:34 EST 2011


On 1/11/2011 3:53 PM, Jamie Forrest wrote:
>
>>     Seems to me ~/bin and /usr/local/bin are both acceptable
>>     locations, especially if this is really just a desktop box. It is
>>     more secure to install it in /usr/local/bin as sudo, rather than
>>     in ~/bin as user, because the latter could be compromised by an
>>     errant process with user (but not su) rights.
>
> Yes I installed it to /usr/local/bin, but with owner jforrest and 
> group jforrest. Should I chown / chgrp these to root/root? Is there a 
> way to change both owner and group in one command?
Yes, I would have everything in /usr/local/bin root:root. Just chown 
root:root /usr/local/bin/filename.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20110111/db3b5043/attachment.htm 


More information about the Linux-disciples mailing list