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.

link|improve this question

0% accept rate
1  
Belongs on superuser.com – Paul R May 14 '10 at 4:17
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
feedback

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

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

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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