Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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..

Thanks.

share|improve this question

migrated from stackoverflow.com May 14 '10 at 4:27

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

1  
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
1  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.