From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8201 invoked by alias); 6 Jul 2011 01:43:49 -0000 Received: (qmail 8191 invoked by uid 22791); 6 Jul 2011 01:43:48 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f43.google.com (HELO mail-pz0-f43.google.com) (209.85.210.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Jul 2011 01:43:34 +0000 Received: by pzk1 with SMTP id 1so2683770pzk.2 for ; Tue, 05 Jul 2011 18:43:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.121.15 with SMTP id t15mr3869468wfc.324.1309916614212; Tue, 05 Jul 2011 18:43:34 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Tue, 5 Jul 2011 18:43:34 -0700 (PDT) Date: Wed, 06 Jul 2011 01:43:00 -0000 Message-ID: Subject: Re: cygwin permissions problem on a network drive From: Bill Metzenthen To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-07/txt/msg00050.txt.bz2 Corinna Vinschen wrote: >> If I now try to use cygwin to create anything then it fails (despite >> it reporting that I have rwx permissions for the directory): > > For now, set the mount point for this drive to "noacl". If you're > accessing the share via /cygdrive, create a distinct mount point for it. I'm not sure that I'm doing this the right way. I created an entry in /etc/fstab and then I got: $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) H: on /h type ntfs (binary,noacl,posix=0,user) C: on /c type ntfs (binary,posix=0,user,noumount,auto) Unfortunately, this didn't fix my problem. So then for some reason I don't remember, I commented out the following line from /etc/fstab: none / cygdrive binary,posix=0,user 0 0 This resulted in my being able to create directories and files on the network drive. It came at a cost however because C: was now mounted on /cydrive/c, so I added and explicit entry for the C: drive in /etc/fstab and this appears to have fixed the problem: $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C: on /c type ntfs (binary,posix=0,user) H: on /h type ntfs (binary,noacl,posix=0,user) This has the minor problem that it allows me to get into a mess by umounting /c -- 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