delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/30/20:28:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-06-30_09:2011-06-30,2011-06-30,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1106300188
Message-id: <82B70611-9F6A-4E33-A2B9-E2C900A684D2@mac.com>
From: Joe Bologna <joebologna AT mac DOT com>
To: cygwin AT cygwin DOT com
Subject: Using / for cygdrive and cause network shares to become read-only
Date: Thu, 30 Jun 2011 19:27:44 -0500
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've been using Cygwin for a long time. I haven't had reason to  
reinstall it until recently when I got a new computer. I installed the  
latest version and discovered the -s option to mount was removed. All  
I wanted to do is change the cygdrive prefix from /cygdrive to /. I  
discovered that I needed to edit /etc/fstab, I uncommented the entry  
below:
	
	none / cygdrive binary,posix=0,user 0 0

This worked fine on local disks, but made it impossible to create  
files, directories or modify them on mounted NTFS shares. I was stuck  
for hours looking for a solution. I finally RTM on mount and /etc/ 
fstab and discovered the "noacl" option. I changed the entry to:

	none / cygdrive binary,posix=0,user,noacl 0 0

This solved the problem. Hopefully this will help other people who run  
into the same issue. It was pretty difficult to find a fix for.

A suggestion for a later release, add the "noacl" option to the  
commented out /etc/fstab entry.

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