X-Recipient: archive-cygwin@delorie.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@bopp.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@cygwin.com
Subject: Re: Permissions on Windows 2008
References: <loom.20101207T055651-95@post.gmane.org> <4CFDC52D.4070909@bopp.net> <loom.20101209T223458-787@post.gmane.org>
In-Reply-To: <loom.20101209T223458-787@post.gmane.org>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAF7291E381EB442D05DFCA2C"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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--
