|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
ls of Directory shows empty, but du shows it isn't?
I've inherited a Solaris 7 system. When I enter a certain directory and run the ls command nothing shows up. Even when I try ls -a, I see nothing, not even ./ and ../
However, when I try du, I see the subdirectories, and then I can cd to any of the subdirectories and I can see the files within them with ls. Can anyone explain why this is? And how I can list the files in this directory. Thanks, Cerbere |
|
#2
|
||||
|
||||
|
There are several possible causes of this; maybe tell us more about the setup? It's kinda early for me and I just got to work so I'll ask a simple question that may or may not have anything to do with this: When you go up a directory and do a ls -l on the directory in question, what are the permissions returned?
__________________
Two things have come out of Berkeley, Unix and LSD. It is uncertain which caused the other. |
|
#3
|
|||
|
|||
|
The permissions for the directory in question are: drwxr-xr-x
and the owner/group are the user that I'm usually logged in as. (BTW su'ing to root still doesn't get a listing) Thanks, Cerbere |
|
#4
|
|||
|
|||
|
If you need any more info about the system, just ask. I'd be glad to tell you anything about it (maybe even the root password) if you could help me figure this out :-)
--- Cerbere |
|
#5
|
|||
|
|||
|
Same prob
Got the same prob on a solaris2.6
When I copy the directory somewhere else i can see it fine!!! Any other ideas what went wrong?? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > ls of Directory shows empty, but du shows it isn't? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|