Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-AuthUser: gerrit:koeln.convey.de
Date: Mon, 18 Aug 2003 23:18:50 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <186-1579041772.20030818231850@familiehaase.de>
To: cygwin@cygwin.com
Subject: Re: du.exe v3.5/4.1 or v3.16/4.0: where is the bug?
In-Reply-To: <OF5E1597BB.CC7D59C1-ONC1256D86.0052E01B-C1256D86.0053E3F6@italy.ibm.com>
References: 
 <OF5E1597BB.CC7D59C1-ONC1256D86.0052E01B-C1256D86.0053E3F6@italy.ibm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo Elisabetta,

Am Montag, 18. August 2003 um 17:16 schriebst du:

> 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 kind of permission makes the 3.16/4.0 versions fail?


> What I wonder is why the behaviour changed through all those du.exe
> versions and finally what should be the right way of working.

Maybe an old 3.16 bug was 'reintroduced by accident' with 4.0?


Gerrit
-- 
=^..^=


--
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/

