delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/13/12:28:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_RW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <BANLkTimsOOZvBAeXgJczJg8KzD9qy1GsLg@mail.gmail.com>
References: <BANLkTimsOOZvBAeXgJczJg8KzD9qy1GsLg AT mail DOT gmail DOT com>
Date: Fri, 13 May 2011 10:27:53 -0600
Message-ID: <BANLkTin=MocwdBzGHF-4DGqLYCboDU-83w@mail.gmail.com>
Subject: Re: CMD.EXE able to create files in directories on a shared drive, but bash in cygwin is unable to
From: Keith Christian <keith1christian 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-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

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


Even when I own the directory, still cannot create anything within it.
 I don't understand why the directories all have 700 permission.  I
also can't chmod 755 any directories either:

Fri May 13 10:23:27 (kchristian AT some-machine) /cygdrive/z>ls -dl vimfiles/
drwx------+ 1 kchristian Domain Users 0 Aug  9  2010 vimfiles/

Fri May 13 10:23:30 (kchristian AT some-machine) /cygdrive/z>touch vimfiles/foo2
touch: cannot touch `vimfiles/foo2': Permission denied

Fri May 13 10:23:35 (kchristian AT some-machine) /cygdrive/z>getfacl -a
-d ./vimfiles/
# file: ./vimfiles/
# owner: kchristian
# group: Domain Users


I may ask our Windows Admin to open a BASH window on my workstation
with "Run As....Administrator" privileges, and ask him to chmod 755
all directories.


=====Keith

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