bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in "du", needing current directory


From: Bob Proulx
Subject: Re: Bug in "du", needing current directory
Date: Thu, 22 May 2003 19:08:17 -0600
User-agent: Mutt/1.3.28i

John F Meinel Jr wrote:
> I found an odd bug in using du

Thanks for the report!

> du: cannot open current directory: Permission denied
> 
> My workaround was to give read permissions to /root, but that really 
> isn't a preferred method.

As a different workaround which avoids the need to give read
permissions to /root, in your cron task could you cd / before running
your command?

  (cd / && du /etc)

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]