From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22135 invoked by alias); 20 Oct 2014 10:44:45 -0000 Mailing-List: contact cygwin-developers-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com Received: (qmail 21971 invoked by uid 89); 20 Oct 2014 10:44:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Oct 2014 10:44:42 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 14B168E1434; Mon, 20 Oct 2014 12:44:40 +0200 (CEST) Date: Mon, 20 Oct 2014 10:44:00 -0000 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: Cygwin AF_UNIX emulation Message-ID: <20141020104440.GB3174@calimero.vinschen.de> Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <544039E2.2040908@t-online.de> <20141017114911.GA27069@calimero.vinschen.de> <54416E01.70309@t-online.de> <20141018103553.GW2681@calimero.vinschen.de> <544281A1.1050203@t-online.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <544281A1.1050203@t-online.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-10/txt/msg00012.txt.bz2 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1509 On Oct 18 17:05, Christian Franke wrote: > Corinna Vinschen wrote: > > SE_CHANGE_NOTIFY_NAME > > > > Required to receive notifications of changes to files or > > directories. This privilege also causes the system to skip all > > traversal access checks. It is enabled by default for all users. > > > > User Right: Bypass traverse checking. >=20 > An unexpected "feature", IMO. >=20 > Hmm.... after removing this privilege, Cygwin returns garbage stat() info, > for any path below the 'forbidden directory': >=20 > $ uname -srvm > CYGWIN_NT-6.1-WOW64 1.7.33s(0.278/5/3) 20141017 14:39:49 i686 >=20 > $ cd /var/spool/postfix/ >=20 > $ ls -ld private > drwx------+ 1 postfix none 0 Oct 18 16:39 private >=20 > $ ls -l private > ls: cannot open directory private: Permission denied >=20 > $ ls -l private/smtp > srw-rw-rw- 1 postfix none 0 Oct 18 16:39 private/smtp >=20 > $ cygdrop -p ChangeNotify ls -l private/smtp > -rw-r----- 1 Unknown+User Unknown+Group 6991943424855812584 Jun 23 1909 > private/smtp >=20 > $ ls -l private/no/such/path > ls: cannot access private/no/such/path: No such file or directory >=20 > $ cygdrop -p ChangeNotify ls -l private/no/such/path > -rw-r----- 1 Unknown+User Unknown+Group 6991943424855812584 Jun 23 1909 > private/no/such/path That should work better now. I just applied a patch to CVS. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUROeXAAoJEPU2Bp2uRE+gOeEP/RxezGZ/fzYN7G9cQ/5NLnyu Q96vAP2sl4fo9YWt5Ptr4xt1DKBAFe2vgL7Rva8JYjDEfF3xBUPbg/Qte692jAbl mM6wXHvyzHIq0tU0ObQYsLuvKTFPFKtKCQ2heez9nYMaFYIzAM4ZswvpPT2bTowC A/wM1sk6yZXbQCojfJMAcWaoVLNwLIgWpxmBtGbMJ0jgytRNY7hJtkhepkcMY8Lh uT8XDL7KrUaIThKTBQH8kpF8fxsDufEK4tROBZ0qcCs9kObGRfqh6v7+Sc33KM/2 8xzturRXxsZKe386eH8H6CGh955Rvc8EsV4tmp5NWGe8o2XK0HNGpW/AGUHd70fp UzIbdrK9lrtpLbPrnT68gJc2i5cFkw7NkuagCbvF4Lytkh+c18Oc1DvrANFTSssU 0CNhdAMds5PmwdrJVGX0z3GVWiHaizMPOX+N0zMym4srIvVvS47KvGN5KNI01Q2I nFVxobUeKhBezvz+wg6ms7mw/+gi4YCvdtRAKsV+KPDcytxZnj6qls2HpzrgTv3+ JkgLdbfKdzHIX6+2UOktlPnzNkqnjPysv0ae0fGfvwUcMvvTvU6u/4R7bM5f3D3z QTvMby8wdGgNFtatwgDJ+Yg2aXTGWRHDpyfR4kivRqEKfJfu/HA7mmQFeGWVbXFC bQF4kKb7aYt8HCPGr2cw =yKpT -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--