delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/16/08:00:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 16 Jun 2011 12:59:57 +0100
Message-ID: <BANLkTim75avYGKmYhzzdEmbqjt5Dfu1WNg@mail.gmail.com>
Subject: Create file fails on network drives in cygwin-1.7.9-1
From: Pete Forman <petef4+usenet AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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.

This is with cygwin 1.7.9-1. The problem went away when I reverted to
1.7.7-1 and came back when I reinstalled 1.7.9-1. The release notes
for 1.7.9 include "Slightly speed up file access when creating new
files".

$ touch foo.txt
touch: cannot touch `foo.txt': Permission denied

# created foo.txt with native emacs

$ echo hello > foo.txt

$ echo hello > bar.txt
bash: bar.txt: Permission denied


-- 
Pete Forman

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

- Raw text -


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