This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building perl-5.10.0


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Reini Urban on 3/22/2008 10:48 AM:
| The second problem is the +, the special Windows ACL, which should not
| be here on a plain new cygwin installation.
| POSIX access() doesn't check the additional ACL's, just the underlying
| windows calls allow or deny access then. This can be right or this can
| be contradictive.

Actually, POSIX access() is allowed to honor the alternate permissions
provided by ACLs (ie. report nonzero for access(name,R_OK) even when none
of the traditional read bits are set, if some other mechanism like an ACL
or being an administrator allows read access to the file), and my
understanding is that cygwin's access() does just that.  However, there
are many apps which just use stat() rather than access(), and thus get
misinformation about whether they have access rights because they were
basing off of incomplete information.  POSIX also states that chmod(2) is
supposed to disable any ACLs that allow alternate access.

However, there is still a known issue that in cygwin, all directories
currently show with a '+' when listed by ls, even when all that is present
on the directory is the ACL for default ACLs to be used when creating
files in that directory.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfnEb4ACgkQ84KuGfSFAYBdmQCfbadO2l1Z2Y07FvhTUbdo/nwv
rpgAn3cGaWKkPVyg9Q6GLzjDl4ydPxuf
=s2QG
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]