info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Stale" CVS locks


From: Larry Jones
Subject: Re: "Stale" CVS locks
Date: Wed, 6 Nov 2002 11:20:40 -0500 (EST)

Reinstein, Shlomo writes [in very long lines]:
> 
> Back to the network-mounted repository issue after a long time. See
> Larry's reply below. What is wrong with accessing a repository from
> Windows using ":local:", when the repository is mapped to a drive letter
> (using Samba)?

Unix's philosophy of ownership and permissions doesn't match well with
Windows' philosophy of ownership and permissions.  Although Samba tries
to do the best it can to map one to the other, what's best for one
situation may well be very bad for another.  The default mapping doesn't
work very well for CVS, you tend to get obscure permission errors like
the one you mentioned:

> Recently we get many problems of the form:
>       cvs [tag aborted]: cannot rename file /..../,filename, to 
> z:\...\filename,v: File exists

If you absolutely have to access the repository via Samba, check the
Samba web site for directions on configuring it to better work with CVS,
but the best thing to do is to avoid network filesystems altogether. 
Run a CVS server on the machine the disk is physically connected to and
use client/server mode to access it.

> Also, do these problems never happen in a Linux client which accesses
> the repository with ":local:"?

Not if the repository is on a locally mounted disk as opposed to some
kind of network file system like NFS.

-Larry Jones

What's the matter?  Don't you trust your own kid?! -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]