NetBSD Problem Report #73
From gnats Thu Jan 13 12:40:30 1994
Received: from forte (forte.mathematik.uni-Bremen.de [134.102.232.1]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with ESMTP id MAA24525 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 13 Jan 1994 12:23:38 -0800
Message-Id: <199401132023.VAA09207@forte>
Date: Thu, 13 Jan 1994 21:23:07 +0100
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: rm -r doesn't remove empty sub-directories
X-Send-Pr-Version: 3.01.6
>Number: 73
>Category: bin
>Synopsis: rm -r doesn't remove empty sub-directories
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jtc
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 13 12:50:25 +0000 1994
>Closed-Date: Mon Jan 17 09:40:25 +0000 1994
>Last-Modified:
>Originator: Thomas Eberhardt
>Release:
>Organization:
CeVis, University of Bremen, Germany
>Environment:
System: NetBSD ed209 0.9a ED209#0 i386
Machine: i386
>Description:
rm -r doesn't remove empty sub-directories.
>How-To-Repeat:
% mkdir -p x/y
% rm -r x/y
rm: x/y: No such file or directory.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: jtc
State-Changed-When: Thu Jan 13 18:20:29 1994
State-Changed-Why:
The bug was in file traversal code in the C library, not in rm. I've
checked in a fix.
Responsible-Changed-From-To: gnats-admin->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Fri Jan 14 08:43:21 1994
Responsible-Changed-Why:
I'm taking responsibility for this bug.
State-Changed-From-To: feedback->closed
State-Changed-By: jtc
State-Changed-When: Mon Jan 17 09:40:25 1994
State-Changed-Why:
Submitter confirms fix works.
>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.