cannot cd /tmp.

Hi All,

There's a /tmp. folder on my solaris 9. I can't cd on it

bash-2.05# uname -a
SunOS cads105ctce 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V890

bash-2.05# cd /tmp.
bash: cd: /tmp.: No such file or directory

bash-2.05# ls -la /tmp.
/tmp.: No such file or directory

bash-2.05# ls -ld /tmp.
/tmp.: No such file or directory

ls -la /
...
drwxr-xr-x 5 root other 512 Jul 12 2006 tmp.
...

Is this corrupted folder or file? Can I fix this?

Thank you for any comment you may add.

post the output of "df -h". also the permissions for /tmp are wrong. should be 1777 afair.

Correction, the folder is "/tmp.". There's a period on the ending...

Thanks.

Post the output of "ls -lab /"

There may be other non-printable characters in the filename

"." is a special character. You can change into it this way:

cd /tmp.*

If that is the only dir with 4 or more characters starting with tmp then try moving it.

mv /tmp.* /tmp.old

Try to cd this way:

cd /tmp\.