www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.3 required=5.0 tests=AWL,BAYES_50 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4D022493.9080502@bopp.net> |
Date: | Fri, 10 Dec 2010 07:01:07 -0600 |
From: | Jeremy Bopp <jeremy AT bopp DOT net> |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Permissions on Windows 2008 |
References: | <loom DOT 20101207T055651-95 AT post DOT gmane DOT org> <4CFDC52D DOT 4070909 AT bopp DOT net> <loom DOT 20101209T223458-787 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20101209T223458-787@post.gmane.org> |
X-IsSubscribed: | yes |
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 |
--------------enigAF7291E381EB442D05DFCA2C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/09/2010 03:38 PM, Bryan Slatner wrote: > Jeremy Bopp <jeremy <at> bopp.net> writes: >=20 >> By default Cygwin tries to emulate POSIX file permissions: >> >> http://cygwin.com/cygwin-ug-net/ntsec.html >> >> You can disable this by modifying your /etc/fstab file and adding the >> appropriate options to cause the target locations for your files to have >> the necessary options: >> >> http://cygwin.com/cygwin-ug-net/using.html#mount-table >> >> Specifically, you may need to modify the settings for the cygdrive >> mountpoint: >> >> http://cygwin.com/cygwin-ug-net/using.html#cygdrive >=20 > Jeremy, >=20 > I guess I spoke too soon. I'm not really sure which fstab options are=20 > appropriate here. Are you suggesting modifying the cygdrive mount, or=20 > adding a new one with some different options? >=20 > I'm not really clear how to proceed here or which are the relevant option= s. Take a look at the noacl option. You'll want to apply that to whatever mountpoint contains the target path of your copy operation. If you want to be surgical in the application, create a new mountpoint with this option set and copy your files into paths within it. Otherwise, you can apply it to the cygdrive mountpoint so that the option applies to any path under /cygdrive and UNC paths. I'm not sure if it's possible to change the mount options of /, /usr/bin, or /usr/lib since those mountpoints are implicitly defined. Setting this option on them would probably break things anyway. If your target path is currently something like /home/whatever, set up a new mountpoint with the noacl option and copy to that instead. -Jeremy --------------enigAF7291E381EB442D05DFCA2C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0CJJMACgkQHt4KKRq6ZjcSqQCbBN9uc7lKDuH62658JnpFVSA2 Kn8AnjKuz7M20B1SWrRX/MFlFGpQLTJU =GlDi -----END PGP SIGNATURE----- --------------enigAF7291E381EB442D05DFCA2C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |