Hi,

I'm trying to use CVS 1.10.8 on Windows NT with a respository on an drive
mounted using NFS.  It seems that any commit operation fails if the
previous commit was done by a different user.

Further investigation reveals that CVS creates a new version for the
appropriate ',v' file in the repository under a temporary name and then
does a rename to update the 'real' version.

On NT, this rename fails if the destination file exists, is read-only and
is owned by a different user (quite a common situation for any module being
developed by multiple users).

Judging by comments in a number of documents (e.g. the CVS Manual and the
change logs), this problem has been reported before but never completely
fixed (I notice there's an NT specific rename function but that it still
attempts to rename on top of a read-only file potentially owned by a
different user).

Can this be fixed?  It would seem that removing the destination of the
rename first would cure the problem but is this perceived is too
dangerous?  Could the destination be copied or renamed away first?

This problem is quite a show-stopper for me -- my only option is to use
CVS in server mode on a UNIX machine.

Cheers,

Chris

-- 
Chris Poole, R&D Engineer,
BBC Research & Development Dept.,          Tel: +44 (0)1737 839772
Kingswood Warren,                          Fax: +44 (0)1737 836665
Tadworth, Surrey, KT20 6NP, U.K.           Email: [EMAIL PROTECTED]

Reply via email to