Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

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.