Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When login through root on HP-tru Unix server, I am trying to access a directory, it is saying "Permission Denied".. Also, an sh file is also not able to execute through same root access..

I have checked the permission of the directory as well as for sh file through ls-ltr.. It is also fine.. Root System rwx-rwx-rwx--

What could be the possible cause, and how to correct it..


share|improve this question

migrated from May 14 '10 at 4:27

This question came from our site for professional and enthusiast programmers.

That's an unusual permission string; the dashes should be missing. Also, NEVER have public write permission on the root directory. – Jonathan Leffler May 14 '10 at 4:29
As Jonathan has pointed out, would you mind providing accurate information? – ayaz May 14 '10 at 5:33
This belongs on serverfault. – Nitrodist May 14 '10 at 8:32

Is the directory mounted from some other system, such as an NFS share? That would limit access to files. You may also want to check the mount options (i.e. cat /etc/mtab) to make sure that none of the options prevent writing and executing.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .