I'm using a new 27" iMac with Mountain Lion 10.8.4, mostly for database work and scientific computing. I've noticed some strange behavior, in which symbolic links to directories will break such that they point to themselves, creating a self-referential loop. This has happened with a few different links, but most notably with
mysql is a symbolic link to
/usr/local/mysql-5.6.12-osx10.7-x86_64. When the link breaks,
mysql points to
/usr/local/, thus creating the loop. I don't notice any correlation between the links breaking and other activity. It appears random. The only somewhat systematic thing might be that it's contained to the
/usr/local folder. I was having some problems with links in the
X11 directory. (See my related question on StackOverflow: http://stackoverflow.com/questions/17490444/import-matplotlib-pyplot-hangs/17497298#17497298)
I can't find much information on what would be causing this behavior. Any leads would be appreciated.