delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-9.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B982163.8030906@redhat.com> |
Date: | Wed, 10 Mar 2010 15:46:59 -0700 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, flitterio AT gmail DOT com |
Subject: | Re: setfacl fails to replace ACLs when given a pathname starting with a drive letter |
References: | <loom DOT 20100310T223730-987 AT post DOT gmane DOT org> <31b7d2791003101403t5ac23548m27dbc1e591ef1417 AT mail DOT gmail DOT com> <loom DOT 20100310T231120-570 AT post DOT gmane DOT org> <31b7d2791003101430x182fa852w2e7737b1a3617f81 AT mail DOT gmail DOT com> <loom DOT 20100310T233552-556 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20100310T233552-556@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 |
--------------enig8923F5912FD9B0AD9CF25C8C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/10/2010 03:42 PM, Francis Litterio wrote: > This gets stranger. Watch this: >=20 > $ /bin/ls -l /cygdrive/c/temp/xyz > -rwx------+ 1 littef Domain Users 6714 Mar 1 15:07 /cygdrive/c/temp/xyz > $ /bin/ls -l c:/temp/xyz > -rw-r--r-- 1 littef Domain Users 6714 Mar 1 15:07 c:/temp/xyz >=20 > Notice the '+' indicating additional ACLs on the file when a UNIX pathnam= e is > used, but the '+' is missing when a drive-letter is used. This also did = not > used to happen. It is as if the presence of drive letters is suppressing > awareness of ACLs within the Cygwin layer. >=20 > Anyone know if this was this done on purpose? Yes, this is on purpose. Use of a drive letter says that you DON'T want POSIX path processing, therefore, you are also giving up ACL processing. Moral of the story - don't expect drive letters to do what you want. Use POSIX paths. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig8923F5912FD9B0AD9CF25C8C 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: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuYIWUACgkQ84KuGfSFAYD6HgCfapxUw/dwERQcYAEsoWtbKj06 2ZIAoMkTvTfA5MmryXy3nzbOBzFeX4jc =QfZk -----END PGP SIGNATURE----- --------------enig8923F5912FD9B0AD9CF25C8C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |