This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem creating files on network drives with cygwin 1.5.10-3 and tar


--- Rick Rankin <rick_rankin@yahoo.com> wrote:
> --- Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > On Jun 15 14:48, Rick Rankin wrote:
> > > --- Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > > > On Jun 11 14:02, Rick Rankin wrote:
> > > > > After upgrading to 1.5.10, I'm seem to be having a problem creating
> > files
> > > > on
> > > > > network drives using tar. For quite a while now (a couple of years,
> at
> > > > least),
> > > > > I've been using tar to back up several directories to a network
> share,
> > and
> > > > had
> > > > > no problems up through version 1.5.9. However, with 1.5.10-3, I get
> the
> > > > message
> > > > > 
> > > > > tar: /cygdrive/m/test.tar: Cannot open: No such file or directory
> > > > > tar: Error is not recoverable: exiting now
> > > > > 
> > > > > when I issue the command
> > > > > 
> > > > > tar -cf /cygdrive/m/test.tar test
> > > > 
> > > > WFM.  Could you send an strace output of that command?  Perhaps that
> > > > helps.
> > > > 
> > > 
> > > Corinna,
> > > 
> > > The strace output is attached. I looked at it some, but without looking
> at
> > the
> > > cygwin internals (I can't access external CVS repositories from work), it
> > > doesn't make too much sense. Windows error 2 (The system cannot find the
> > file
> > > specified.) is accurate. The file really doesn't exist. If I execute
> 'touch
> > > /cygdrive/m/test.tar' prior to running the tar command above, tar
> executes
> > just
> > > fine.
> > 
> > Still, I can't reproduce that.  I can successfully create a tar archive
> > on a remote drive, same command as above, on a Samba share as well as on
> > a NT4 share.  Hmm, could you try a recent developers snapshot from
> > http://www.cygwin.com/snapshots/ ?
> > 
> 
> I get the same result with the 0604 snapshot, which is the last one I see
> (almost two weeks old -- is that right??). I can try earlier ones if that
> will
> help, but I'm not sure what the point would be. 
> 
> If no one else can reproduce this, then it's bound to be something specific
> to
> my environment/setup. I just find it odd that I can roll back to 1.5.9 and
> the
> problem disappears.
> 
> If you can't think of anything else, then it appears that the next step would
> be for me to build debug versions of tar and cygwin. That'll have to wait
> 'til
> the weekend, though...

OK, it *must* be something specific to the particular share I've been working
with. I just mapped some other drives from other servers, tried the same tar
command, and it worked just fine. The puzzling part is that on the problem
share, the *only* thing that fails is tar. I can create files with touch, cp,
vim, etc., etc. and I can remove them with rm, so it doesn't appear to be a
permission problem. It's also not a space problem, so I'm back to building the
debug versions...

Rick

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]