Search This Blog

Monday, May 7, 2012

ls -la result is unreadable

ls -la result is unreadable

Able to read the directory by root user, but not by normal user

$ ls
. unreadable

 
It is purely a permission problem.
The directory is not having read permission for either the user/group/other but having write and execute permissions

Go to its parent directory.

testlab:/usr/sap/trans#ls -ld data
drwxrwx--x  2053 root       sapsys     3379200 May  7 13:20 data
testlab:/usr/sap/trans#chmod g+r data
testlab:/usr/sap/trans#chmod o+r data
testlab:/usr/sap/trans#ls -ld data
drwxrwxr-x  2053 root       sapsys     3379200 May  7 13:20 data

No comments:

Post a Comment