Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on AIX, and in some directories I can't use the du command. I get the follow error message:

du: 0653-175 Cannot find the current directory.

Obviously the current directory exists, and I have permissions to it. I can list the directory and create files in it, both before and after I ran du. What could possibly be wrong here?

The du command works just fine in my home directory.

A quick google search turns up a bunch of forum posts of the same problem, but no clear answers.

share|improve this question
up vote 1 down vote accepted

What are the permissions of the directory under the filesystem mount? Unmount the filesystem and check the permissions of the directory underneath, it's probably not root:system and 755. Your user ID probably doesn't have access to that directory and some AIX commands fail as a result.

share|improve this answer

it is probably because of ACL implemented on that directory. You may want to change to that filesyste,/directory owner and then try du.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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