delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/03/17:33:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20040903213311.47094.qmail@web61202.mail.yahoo.com>
Date: Fri, 3 Sep 2004 14:33:11 -0700 (PDT)
From: C Schreiner <caschreirc AT yahoo DOT com>
Subject: can't open file for writing
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Note-from-DJ: This may be spam

I can not save to a nonexistant file name under
Cygwin, but I can under Windows.  

When I type:

   cat "hello" > foo.txt

under Cygwin I get this error message:

   bash: foo.txt: No such file or directory

(unless foo.txt already exists in the current
directory).  This only happens with network
filesystems.  I know I have write permission because I
can create the file with "touch foo.txt", and I can
create the files with Windows Wordpad.  Other programs
under Cygwin also cannot create files, such as vim, 
and co (from the rcs package).  Things work fine for
all programs on the local C: drive.

Why does this problem occur under Cygwin?  Is there
maybe a workaround?

I have not seen anything about this in the Cygwin FAQ
or in two mailing list archive searches.  If there is
already documentation about this, please point me to
it.

I am using Windows XP professional 5.1.2600 SP 1.0,
and Cygwin DLL version 1.5.10-3 (setup program version
2.427).  

Thank you for your consideration,


Christian Schreiner
caschreirc (at) yahoo (dot) com


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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/

- Raw text -


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