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 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: <4CFDC52D DOT 4070909 AT bopp DOT net> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAF7291E381EB442D05DFCA2C" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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--