[arch-general] /etc/profile PATH variable wrong

Heiko Baums lists at baums-on-web.de
Sun Aug 15 14:33:24 EDT 2010


Am Sun, 15 Aug 2010 06:19:24 -0700
schrieb mike rosset <schizoid29 at gmail.com>:

> I agree with this /usr/local/ is a pretty common location to install
> system wide software and imo /usr/local/bin /usr/local/sbin should be
> included in the default path. FHS covers this and GNU conf also
> defaults to this.
> 
> However in Judd's case I would think ~/bin would be better suited for
> user scripts unless he needs to use them system wide ie. as another
> user. since its much easier to edit save the files and does not
> require root privileges to modify

You're not quite right. Both /usr and /usr/local are system wide,
but /usr is for packages which are installed by a package manager
and /usr/local is for self written user scripts. It's just that user
scripts can't be overwritten by a package.

Heiko


More information about the arch-general mailing list