X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 16 Jun 2011 14:49:54 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Create file fails on network drives in cygwin-1.7.9-1
Message-ID: <20110616124954.GY12140@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <BANLkTim75avYGKmYhzzdEmbqjt5Dfu1WNg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <BANLkTim75avYGKmYhzzdEmbqjt5Dfu1WNg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jun 16 12:59, Pete Forman wrote:
> I am seeing "Permission denied" errors when trying to create files on
> network drives. Local drives seem okay. Once a file is created with a
> native program I can write to it.

http://cygwin.com/problems.html

cygcheck output as descibed on the above page would be helpful in the
first place.

Next question is, what kind of network drives?  Run
/usr/lib/csih/getVolInfo X:\\ with X being the drive you have the
problem with.  Alternatively chdir into some directory on the drive and
run "getVolInfo ."

Ultimately stracing touch would be helpful.  Make sure foo.txt does
not exist, run

  $ strace -o touch.trace touch foo.txt

and attach the touch.trace file to your reply.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

