delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/18/11:07:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: du.exe v3.5/4.1 or v3.16/4.0: where is the bug?
To: cygwin AT cygwin DOT com
Cc: Paul_Keeler/UK/IBM%IBMIT <Paul_Keeler/UK/IBM AT it DOT ibm DOT com>
Message-ID: <OF5E1597BB.CC7D59C1-ONC1256D86.0052E01B-C1256D86.0053E3F6@italy.ibm.com>
From: "Elisabetta Flamini" <Elisabetta_Flamini AT it DOT ibm DOT com>
Date: Mon, 18 Aug 2003 17:16:18 +0200
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019