[There were also more or less similar patches from Justin Morgan (25 Sep 1998), and perhaps others. A patch along these lines was checked in 28 Sep 1998. -kingdon] From: "Norbert Klamann" To: bug-cvs@gnu.org Date: Thu, 3 Sep 1998 07:05:10 +0200 Subject: CVS1.10: rename of temporary files fails during commit Hello, I encountered the following problem: Environment cvs 1.10 under Windows NT and CVSROOT on an Novell- Server Symptom the commit fails with a message saying "cannot rename file %s to %s : permission denied" Fix file cvs.1.0\Windows-NT\filesubr.c must be changed in the following way [patch snipped and replaced with a unidiff rather than a regular diff, at the end of this message -kingdon] I hope this format is useful. It is my first bug-report All the best Norbert Norbert Klamann ---------------------------------------------------------- Klamann Software & Beratung D-50374 Erftstadt , Germany Klamann.Software@pobox.com --- filesubr.c.1-10 Thu Sep 3 12:52:28 1998 +++ filesubr.c Thu Sep 3 12:52:35 1998 @@ -390,8 +390,10 @@ /* Win32 unlink is stupid --- it fails if the file is read-only */ chmod(to, S_IWRITE); unlink(to); + chmod(from, S_IWRITE); if (rename (from, to) < 0) error (1, errno, "cannot rename file %s to %s", from, to); + chmod(to, S_IREAD); } /*