If i give, man ls command,it is displaying error message as
getcwd: Permission denied
If i run the commands from the (/) file system, they are working fine
whereas If i run commands from my directory it is giving the above error messages.
My directory still exists. If I go to a different directory it is working.
How to check whether the file system is unmounted or
mounted with wrong permissions.
I hate to seem picky, but I asked for "cd /; /usr/bin/pwd". You somehow changed that to "cd /; /usr/bin/which ls". In this case that was good enough to determine where the problem is. But you need to follow directions more closely. A wild fumble can be disasterous. Note that
cd /home;/usr/bin/which ls
succeeded. But then
cd /home/applications;/usr/bin/which ls
failed. This is the clue that the problem is indeed which /home/applications. You need to follow the procedure that Tornado gave. But follow it exactly.
This is really a bug in Solaris. In every other Unix version the permissions on the hidden mountpoint do not matter. But it has been this way for years and Sun does not seem inclined to fix it.
It seems U have mistaken me. 'pwd' command is working fine in all the directories that's why I chose 'which' command so that I can better explain the errorneous situation.
If U observe all my postings, From the beginning(2nd posting), I knew that the culprit is /home/applications and its subdirs. BUT when I checked the perms, everything seems O.K.
So, I couldn't pin point where exactly the prob. is. I don't know that it is a BUG in solaris.
The problem is not with the permisions on the mounted filesystem, but with the permisions on the mount point.
Once you have unmounted /home/applications have a look at the permisions on the /home/applications directory before you run chmod 755 /home/applications