Unable to cd to a directory

I am getting the below error when cd to a directory.

cd /u/Mont
/bin/ksh: cd: /u/Mont: [Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS]
ls -ltrd /u/Mont
lrwxrwxrwx   1 user1 testuser       5 Dec  1 11:39 /u/Mont -> Mont
 uname -a
SunOS mymac 5.11 11.2 sun4v sparc sun4v

Can you please resolve the error and explain why is it failing ?.

Seems to be a link to itself, so it tries to dereference until it's blue in the face or until it exhausts MAXSYMLINKS.

1 Like