Subject: Re: RCS for gnu-win 32
From: [email-masked] (DJ Delorie)

13 Oct 1996 12:19:11 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-CC: [email-masked], [email-masked], [email-masked]
In-reply-to: <[email-masked]> (message from Geoffrey
	Noer on Sun, 13 Oct 1996 00: 47:30 -0700 (PDT))
Original-Sender: [email-masked]

We did the same thing in the djgpp unlink().  Similarly, we had to
code a complete recursive rename() function for renaming directories -
unix allows it, dos/nt does not.

> > The only thing
> > I had to worry about was (and this info may be useful for the Cygnus
> > itself): NT does not allow to delete read-only file even if the directory
> > where it lives has appropriate permissions (unlike UNIX), but it does
> > allow to change the permissions of the file.
> 
> Yep, I'm probably changing unlink() in the dll to always chmod read only
> files to read-write before attempting deletion.  The unlink() system call
> under UNIX can delete read-only files so this change is called for.
> 
> This change should fix the problem with -f not working in the fileutils
> like rm and cp.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".