Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 31 Oct 2000 10:07:01 -0500
From: Jason Tishler <Jason.Tishler@dothill.com>
To: Cygwin <cygwin@sources.redhat.com>
Subject: Re: autoheader (mv/exec) problem
Message-ID: <20001031100701.B1441@dothill.com>
References: <20000823231923.A16518@OLMY>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20000823231923.A16518@OLMY>; from Jason.Tishler@dothill.com on Wed, Aug 23, 2000 at 11:19:24PM -0400
Organization: Dot Hill Systems Corp.

On Wed, Aug 23, 2000 at 11:19:24PM -0400, Jason Tishler wrote:
> When running autoheader, I kept getting error messages like the
> following:
> 
>     mv: cannot move `autoh16138' to `config.h.in': Permission denied
> 
> But after autoheader exited, I could successfully execute:
> 
>     mv autoh16138 config.h.in
> 
> without any problems.
> 
> By reading the (shell script) source to autoheader, I determined that
> the problem has to do with trying to move a file when it is still open
> -- which is no surprise since Cygwin is sitting on top of Windows...
> 
> The attached shell script exhibits the above problem on Cygwin but works
> on Linux.  I'm not sure if this one is fixable...

Just in case someone is still interested, I have more information
regarding this problem.  The move problem only occurs on shares (i.e.,
CIFS) and not on local (i.e. NTFS) file systems.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

