X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 May 2011 19:01:48 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <BANLkTimsOOZvBAeXgJczJg8KzD9qy1GsLg@mail.gmail.com> <BANLkTin=MocwdBzGHF-4DGqLYCboDU-83w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <BANLkTin=MocwdBzGHF-4DGqLYCboDU-83w@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 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

