[OS X TeX] tetex directory is linked to hard disk
Bruno Voisin
bvoisin at mac.com
Thu Dec 2 04:01:25 EST 2004
Le 2 déc. 04, à 09:22, Jan Anderssen a écrit :
> On Dec 2, 2004, at 3:14 AM, Dalyoung wrote:
>
>> However, in the finder window, Library>teTeX appeared but its icon is
>> the shape of hard-disk and actually linked to the main disk. So I
>> click the teTeX, then I got another library. If I click library
>> again, it showed teTeX link again. Hence I never get teTeX
>> directories.
>
> that happened to me too (for some reason i didn't think much about it
> at the time and never reported it back. my bad.)
>
> opening a Terminal window and typing the following should fix it.
>
> cd /Library
> rm teTeX
> sudo ln -s ../usr/local/teTex teTeX
I think Gerben was planning changes, because of a problem that I had
reported and Martin Costabel confirmed/elucidated: /Library/teTeX was
originally a symbolic link (symlink) to /usr/local/teTeX. This meant if
you were connected to another Mac, or to a FireWire disk, for example,
also containing Gerben's teTeX install, and you did anything (deleting,
modifying content) to the symlink /Library/teTeX on that Mac or disk,
then you were actually modifying /usr/local/teTeX on your Mac, not on
the distant Mac or FireWire disk. In another context, Martin had in
this way, by deleting a symlink in a FireWire disk, deleted a whole
multi-gigabytes directory on his Mac.
Trying to be clearer, imagine you are browsing a disk or distant Mac
named "Remote" from a Mac named "Local"; then the significance of the
symlinks /Library/teTeX on the two volumes were:
Local/Library/teTeX -> /usr/local/teTeX = Local/usr/local/teTeX
Remote/Library/teTeX -> /usr/local/teTeX = Local/usr/local/teTeX
Gerben was planning to change this so that:
Local/Library/teTeX -> ../usr/local/teTeX = Local/usr/local/teTeX
Remote/Library/teTeX -> ../usr/local/teTeX = Remote/usr/local/teTeX
It may be Gerben has indeed made the change (I'm lagging a few gwTeX
versions behind), and what you see is indeed a manifestation of it. By
the way, I think
sudo ln -s ../usr/local/teTex teTeX
should be
sudo ln -s ../usr/local/teTeX teTeX
(capital X).
Hope this helps,
Bruno Voisin
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list