This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

du.exe v3.5/4.1 or v3.16/4.0: where is the bug?


Hello.
My problem is about different versions of du.exe that work in a different
way.

Details:
the argument is executing du against a file owned by a different user than
the one running du.

first case:
du <file>
<disk usage>       <file>

du --version
GNU fileutils 3.5
GNU fileutils 4.1



second case:
du <file>
<file>: Permission denied

du --version
GNU fileutils 3.16
GNU fileutils 4.0

In other words, using version 3.16 or 4.0 du fails to execute due to
restricted permissions on the file.
What I wonder is why the behaviour changed through all those du.exe
versions and finally what should be the right way of working.

Many thanks,
Elisabetta




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]