- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls -la result is unreadable
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 08:11 PM
01-05-2005 08:11 PM
We are running HP-UX 11i here. I faced a strange thing when I did a ls -la under a particular directory. In this directory, when I type ls -la, i got the following result:-
. unreadable
Why is it unreadable? Could it be the permission problem or what? Please advise.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 08:16 PM
01-05-2005 08:16 PM
Re: ls -la result is unreadable
Can it be that .unreadable is a file name?
In any case, in order to check, run
ls -lab in tha directory .
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 08:26 PM
01-05-2005 08:26 PM
Solutionit 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.
add read permission by chmod command
chmod u+r dirname
or
chmod g+r dirname
or
chmod o+r dirname
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 09:13 PM
01-05-2005 09:13 PM
Re: ls -la result is unreadable
change the permission as chmod +rw. It will work now.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 09:54 PM
01-05-2005 09:54 PM
Re: ls -la result is unreadable
if the directory having only execute permission also this can happen.that time you will be able to go to directory.but you will not be able to list or create files in that directory.
if you are having both write and execute permission ,you can go to that dir,can create or view files in that dir,but you will not be able to list files.this can be used as a security feature also.the users who knows the file name can only edit or view the file.others will not be able to do,as they will not be able to know the file name by listing
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:12 AM
01-07-2005 02:12 AM
Re: ls -la result is unreadable
If you want to change to read permission on an entire directory structure (recursive change) you could use the command:
chmod -R ugo+r ./directoryname
Directories should also have execute x permission, to allow to execute commands in the directory
find . -type d -exec chmod ugo+x {} \;
In the above examples I assume that all users (owner=u, group=g and other=o) should have access. Substitute to appropriate rights. And if needed adjust the /etc/group file.
/2r