[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs import
From: |
Todd Denniston |
Subject: |
Re: cvs import |
Date: |
Tue, 25 Jul 2006 08:34:54 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) |
address@hidden wrote:
Larry Jones a écrit :
address@hidden writes:
It says "permission denied". But if i do the import of only files
concerned (one by one), it's ok !!
Any idea ? :-(
It sounds like you have some kind of transient permission problem. Is
your repository on some kind of network file system? If so, that's a
very bad idea and you will likely run into more screwy problems like
this. The repository should never be on a network file system.
-Larry Jones
It COULD'VE happened by accident! -- Calvin
I have no choice, i don't decide :(
Any idea to deal with it ?
here is a bare bones outline of my idea for dealing with it.
1) have your boss read (or you summarize to him/her) the posts found by the
following search.
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=nfs+corruption&submit=Search%21&idxname=info-cvs&max=20&result=normal&sort=score
2) ask if the company values the data you are keeping in CVS.
(if they don't then ask why are you working on it)
3) explain that even though most people don't like pserver because of it's
insecurity, it would even be more secure than accessing the repository over
NFS/SAMBA.
4) explain that by using ssh/gsapi/(some cvsnt only methods) you have better
records of WHO made changes, which should make it easier to track down anyone
who makes malicious changes in the future.
5) explain that the folks in the know (this mailing list, which has THE
experts on CVS) indicate that CVS over a network file system is _very bad_
practice, and that best practices include keeping all access going through cvs
server processes all running on the same cvs server box, i.e., best practices
include using :ext|gsapi|pserver: connections.
6) explain that when using :ext|gsapi|pserver: methods, cvs clients are able
to do proper line ending conversions for the OS of the machine they are
running on.
(I don't know that they can't/don't do it when running against a NFS, I know
that the do it correctly when using an :ext: method
7) document all your explanations and when you did it, and have the boss sign
off that they were so informed. This way _WHEN_ the bosses start complaining
that CVS/you are loosing their expensive data, you can reach in your back
pocket and exclaim "I _TOLD_ you so!!!".
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter