- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with ls!
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
08-20-2003 01:16 AM
08-20-2003 01:16 AM
Problem with ls!
if i use ls with a normal user there is not output, but if i use ls by root the output is correct.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:31 AM
08-20-2003 01:31 AM
Re: Problem with ls!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:33 AM
08-20-2003 01:33 AM
Re: Problem with ls!
Is this "normal" on the particular system, or has something happened after which this is the result ?
Might have something to do with the PATH-variable (which might define another ls for your ordinary users). Try :
"whereis ls" as the root-user and the same as another user. Any difference in the result ?
Regards,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:34 AM
08-20-2003 01:34 AM
Re: Problem with ls!
$ ls
.unreadable
If this is the case, you don't have read access to the directory.
If not please provide the first few lines of out put from when 'root' is used. There could be a corrupted named file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:35 AM
08-20-2003 01:35 AM
Re: Problem with ls!
How do you say the output is correct. In which dir are you listing? Are the permissions correct? Does ls not working for any other user?
-Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:39 AM
08-20-2003 01:39 AM
Re: Problem with ls!
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:44 AM
08-20-2003 01:44 AM
Re: Problem with ls!
root / >ll /sbin/ls
-r-xr-xr-x 1 bin bin 278528 Dec 12 1997 /sbin/ls
root / >ll /usr/bin/ls
-r-xr-xr-x 6 bin bin 356352 Dec 12 1997 /usr/bin/ls
Seams to be a problem in this way. Which 'ls' are you using /sbin/ls or /usr/bin/ls???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:46 AM
08-20-2003 01:46 AM
Re: Problem with ls!
Out of interest does echo * return anything for your users in whatever directory you are using?
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:46 AM
08-20-2003 01:46 AM
Re: Problem with ls!
the permissions in the directory are correct.
i'm sure there are files in the the directory
root read every file
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:50 AM
08-20-2003 01:50 AM
Re: Problem with ls!
i tried with echo * and files were listed corretly.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:55 AM
08-20-2003 01:55 AM
Re: Problem with ls!
ERRORS:
attributes unavailable = file corrupted
The parameter list is too long = set kernel tunable large_ncargs_enabled to 1
unreadable = filename has too many characters
...
Don't know what that could be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:00 AM
08-20-2003 02:00 AM
Re: Problem with ls!
the output is the same if i work ls in the directory without files!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:02 AM
08-20-2003 02:02 AM
Re: Problem with ls!
Stupid remark probably, but have you tried executing
/usr/bin/ls
instead of just ls ?
Same result ?
Regards,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:07 AM
08-20-2003 02:07 AM
Re: Problem with ls!
As well as Tom's suggestion - what happens if you run /sbin/ls ?
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:13 AM
08-20-2003 02:13 AM
Re: Problem with ls!
There is not alias called ls!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:19 AM
08-20-2003 02:19 AM
Re: Problem with ls!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:23 AM
08-20-2003 02:23 AM
Re: Problem with ls!
Can you cut and paste the output of the commands running as root and another user so we can see exactly what you mean for both ls and find. Also, can you show the permissions on the directory that you are looking at, and the directories above it.
At the moment we're working in the dark and are probably missing something obvious!
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:35 AM
08-20-2003 02:35 AM
Re: Problem with ls!
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:41 AM
08-20-2003 02:41 AM
Re: Problem with ls!
This doesn't appear to be a HP-UX server according to the output of your su command! Perhaps you could try the forums at http://www.sun.com/forums/
for further assistance.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 02:44 AM
08-20-2003 02:44 AM
Re: Problem with ls!
thank you very much for the your interest!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 03:03 AM
08-20-2003 03:03 AM
Re: Problem with ls!
Could you check the output from (# df -k .) as user root and user svplus in the directory /usr/users/svplus/OV ?
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:18 AM
08-20-2003 05:18 AM
Re: Problem with ls!
In attach the output for df -k .
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:26 AM
08-20-2003 05:26 AM
Re: Problem with ls!
This is just a shot. Check the /etc/passwd. By any chance do the user have a restricted shell.
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:37 AM
08-20-2003 05:37 AM
Re: Problem with ls!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:49 AM
08-20-2003 05:49 AM
Re: Problem with ls!
the user have not a restrict shell!!
the question is very hard!!!
i checked everything that i thinked!!!!
......