delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/13/13:03:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 May 2011 19:01:48 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: CMD.EXE able to create files in directories on a shared drive, but bash in cygwin is unable to
Message-ID: <20110513170148.GT3020@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BANLkTimsOOZvBAeXgJczJg8KzD9qy1GsLg AT mail DOT gmail DOT com> <BANLkTin=MocwdBzGHF-4DGqLYCboDU-83w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTin=MocwdBzGHF-4DGqLYCboDU-83w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On May 13 10:27, Keith Christian wrote:
> I asked our Windows admin to check permissions on the share.  They are
> the same as everyone else's.
> 
> I tried this entry in /etc/fstab, closed all Cygwin Bash windows,
> opened a window, unable to create files in /cygdrive/z or
> subdirectories within.
> 
> Z: /cygdrive/z ntfs binary,noacl 0 0

That doesn't work.  You must choose another path which doesn't
start with the cygdrive prefix, for instance:

Z: /mnt/z doesnt_matter binary,noacl 0 0

> Even when I own the directory, still cannot create anything within it.

It has something to do with the share permissions, which disallow
WRITE_DAC permissions(*).  However, since I can't reproduce this problem,
I have really no idea what combination of share permissions and/or maybe
domain policy have this effect.


Corinna


(*) http://cygwin.com/ml/cygwin/2011-05/msg00197.html


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

- Raw text -


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