git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Does git belong in root's $PATH?

From
Andreas Ericsson <ae@op5.se>
Date
Jan 8, 2006, 00:37 UTC
Message-ID
<43C05ED5.1090603@op5.se>
In-Reply-To
<43C02725.2020702@zytor.com>
H. Peter Anvin wrote:
Show 13 quoted lines
> Andreas Ericsson wrote:
> 
>>
>> Not including /usr/local/{bin,sbin} in root's path is considered wise, 
>> since, historically, that's where users would install their own 
>> versions of programs that the system doesn't provide. This use has 
>> largely been obsoleted by $HOME/bin as the default for user-specific 
>> programs, mainly because of disks getting larger and cheaper.
>>
> 
> Hmmm... I think that was /usr/bin (hence the eventual migration of the 
> meaning of /usr from what was originally the equivalent of /home.)
> 

I've been told that it's '/usr' simply because that's where user interface tools that have nothing to do with boot-strapping resides. A point emphasized by the fact that /bin, /sbin and /lib must not reside on network-mounted media, while /usr may.

It seems so logical I never bothered to look in to find out for myself though, so I may well be wrong, or at least younger. ;)

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: H. Peter AnvinNext: H. Peter Anvin
Message 4 of 10 in “Does git belong in root's $PATH?”
  1. waltJan 7, 2006
  2. Andreas EricssonJan 7, 2006
  3. H. Peter AnvinJan 7, 2006
  4. Andreas EricssonJan 8, 2006
  5. H. Peter AnvinJan 8, 2006
  6. waltJan 8, 2006
  7. H. Peter AnvinJan 8, 2006
  8. Linus TorvaldsJan 7, 2006
  9. H. Peter AnvinJan 7, 2006
  10. Sam RavnborgJan 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.