[OS X TeX] Re: Leopard MacTeX PATH problems, still

David Airey david.airey at vanderbilt.edu
Sun Mar 23 11:39:39 EDT 2008

OK, I found the files. I have four files instead of two:



I ran these two commands, thanks to Martin:

sudo cp /etc/csh.login.system_default /etc/csh.login
sudo cp /etc/profile.system_default /etc/profile

Now all the files are identical, and match your file contents below,  

(drum roll please)

Last login: Sun Mar 23 10:30:49 on ttys000
AireyDC:~ dairey$ echo $PATH
AireyDC:~ dairey$

My PATH is fixed!!!!!!!!

Thank you to everyone for there expertise and patience with me.

Now, should I delete the .system_default duplicate files?


On Mar 23, 2008, at 9:32 AM, Richard Koch wrote:
> David,
> Thanks for the message. I knew that I wasn't writing enough on the  
> list, so I'm not surprised that you are writing me for more details!  
> I wouldn't have had he courage to do this myself based on the  
> earlier message.
> Your description below is completely correct. However, I think there  
> is an easier way. Below are the versions of /etc/csh.login and /etc/ 
> profile on my machine. These are the versions as shipped on Leopard,  
> completely unmodified.
> ---------- /etc/csh.login --------------------
> # System-wide .login file for csh(1).
> if ( -x /usr/libexec/path_helper ) then
>        eval `/usr/libexec/path_helper -c`
> endif
> --------------------------------------------------
> ----------- /etc/profile -----------------------
> # System-wide .profile for sh(1)
> if [ -x /usr/libexec/path_helper ]; then
> 	eval `/usr/libexec/path_helper -s`
> fi
> if [ "${BASH-no}" != "no" ]; then
> 	[ -r /etc/bashrc ] && . /etc/bashrc
> fi
> -------------------------------------------------
> Note that the "-----" lines aren't part of the scripts.
> Both of these files are owned by root and in the group wheel. The  
> permissions of profile are -r--r--r-- and the permissions of  
> csh.login are -rw-r--r--
> I believe that Leopard installed these files on your system, but  
> with different names, like csh.login.system or something. Actually,  
> I'd be interested in these "temporary" names if you can find them  
> and verify by comparing contents to those above.
> The easiest fix is probably to rename your current /etc/csh.login  
> and /etc/profile, and then rename the "temporary" files installed by  
> Leopard to these names.

David C. Airey, Ph.D.
Pharmacology Research Assistant Professor
Center for Human Genetics Research Member
Vanderbilt University Medical Center

More information about the MacOSX-TeX mailing list