delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/27/23:05:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20010627194853.03d87e60@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 27 Jun 2001 20:05:13 -0700
To: "jorgens AT coho DOT net" <jorgens AT coho DOT net>,
"Cygwin List (E-mail)" <cygwin AT cygwin DOT com>
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: cvs via Cygwin (W98) to FAT to Linux - permissions
In-Reply-To: <01C0FF40.2CA14450.jorgens@coho.net>
Mime-Version: 1.0

Steve,

There's nothing wrong with wanting this outcome, but modifying the CVS 
command itself is almost certainly not the way to get it.

Much better would be to wrap CVS in a script that would perform the 
necessary actions required to achieve this effect. As a shell script, this 
wouldn't be particularly tough.

In fact, it reminds me of a program I wrote once, you gave it a list of 
file names and a command to invoke. It saved the modify and read times of 
the named files, ran the command and after it exited, restored the mod and 
read times on the files. Although that was a C program, if I was writing it 
today, I'd probably do it in BASH.

Be sure to take care with signal handling.

Randall Schulz
Mountain View, CA USA


At 19:34 2001-06-27, Steve Jorgensen wrote:
>...
>
>That brings me back to the more limited, but vastly simpler idea of adding
>a feature to cvs that allows producing a script of chmod commands during
>check-out that reflects the proper file permissions.  I might even attempt
>this myself after re-learning such things as how a make file works since I
>haven't done C programming in about 12 years now.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019