Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Kimmo Suominen <kim@netbsd.org>
List: source-changes
Date: 10/11/1998 22:19:49
Module Name:	src
Committed By:	kim
Date:		Mon Oct 12 05:19:49 UTC 1998

Modified Files:
	src/usr.sbin/sup/source: supcmeat.c
Log Message:
Before running "rm -rf" on a directory chmod the directory and its parent
to u+rwx to make our chances of success better.  The modes for directories
are reset at the end of a sup run, so we don't need to worry about that.

This possibly might mess up the mode of the parent of the top-level dir,
if the top-level changed to a non-directory.  This is probably rare enough
not to care too much about.

XXX: Should probably chmod the containing directory for each non-directory
removal as well, so there wouldn't be complaints about them.  Please feel
free to send in your opinions on that...