Incorrect $PATH value for root user

Jan Stary hans at stare.cz
Thu Apr 10 22:57:14 PDT 2014


On Apr 11 07:55:47, hans at stare.cz wrote:
> On Apr 10 18:48:01, vitorg at yandex.ru wrote:
> > Yes, but MacPorts can control this.
> > Instead of specifying "export PATH=/opt/local/bin:/opt/local/sbin:$PATH"
> > in ~/.bash_profile it can (and should) specify it system-wide
> > in /etc/bashrc
> 
> Absolutely not. Don't any program dare touch things in /etc.
> These are to be edited manually, under the assumption that
> you know what you are doing.

Also, the role of ~/.profile and ~/.shrc is not what you think.



More information about the macports-users mailing list