NetBSD Problem Report #3166
Received: (qmail-queue invoked from smtpd); 30 Jan 1997 22:16:33 -0000
Message-Id: <199701302212.RAA25810@rover.cygnus.com>
Date: Thu, 30 Jan 1997 17:12:21 -0500 (EST)
From: Marc Horowitz <marc@cygnus.com>
Reply-To: marc@cygnus.com
To: gnats-bugs@gnats.netbsd.org
Subject: ls -lW /dir/whiteout fails, but ls -lW /dir shows the whiteout
X-Send-Pr-Version: 3.95
>Number: 3166
>Category: bin
>Synopsis: ls -lW /dir/whiteout fails, but ls -lW /dir shows the whiteout
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 30 14:20:00 +0000 1997
>Closed-Date: Sun Jun 22 13:55:50 +0000 2014
>Last-Modified: Sun Jun 22 13:55:50 +0000 2014
>Originator: Marc Horowitz
>Release: 24 January 1997
>Organization:
Cygnus
>Environment:
System: NetBSD rover 1.2B NetBSD 1.2B (MARC) #0: Thu Nov 7 00:29:02 EST 1996 marc@rover:/u3/netbsd/src/sys/arch/i386/compile/MARC i386
>Description:
ls doesn't deal properly with listing whiteouts when a filename which
is a whiteout is specified.
It is true that the man page documents the behavior as is, but I
believe the behavior is incorrect.
>How-To-Repeat:
> ls -lW /usr/local/bin
...
-rwxr-xr-x 1 marc wheel 23660 Jan 20 14:11 emacsclient
?--------- 0 root wheel 0 Dec 31 1969 etags
-rwxr-xr-x 1 root wheel 1164085 Jul 9 1996 expect
...
> /tmp/ls -lW /usr/local/bin/etags
ls: /usr/local/bin/etags: No such file or directory
> /tmp/ls -W /usr/local/bin/etags
ls: /usr/local/bin/etags: No such file or directory
in the last two cases, the whiteout does exist, so the error is in
error.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 22 Jun 2014 13:55:50 +0000
State-Changed-Why:
Working as intended.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.