X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=RonMFbYScvWR6kIlEKECZGhaF+WGfqEFKsPguUBSj5hIgp6bfzsg3 oTOU03Zyyl5dcKn6UojW8Z7rb+G3NQFg5jjBg468gG5w8nMZf6CQSu3Uke1xzEmJ koRd/Ol9ePdzdqcxd2cllvQQVW9Y24+aHN5Xrg3iyVltOVrBC9b/vo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=GCQgeLCu64RtKQ8EpofQcQ5Ezkc=; b=HGc2qkRF1J4gv3aMzrng6URZ6x+Y YPJ4+P5Ye9MkSqmwJ+BlLOiMT3JFNO0k1rL5Rlv2xCkvDgrOQXuv6WKn327IrJXH 8Dph8IoX2A+1ky6lZE+W2MTHU3Pq7xLnp3oniZyU6QkMl2ZKjDyu3VE05ZG+6P6V l2/cme3vICuo5U0= 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 X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED autolearn=ham version=3.3.2 Date: Mon, 12 Aug 2013 12:09:01 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: : 64-bit cygwin - cannot remove group permissions from file on ntfs Message-ID: <20130812100901.GB2691@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20130811142853 DOT 197690 AT gmx DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <20130811142853.197690@gmx.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Found: No --H1spWtNR+x+ondvy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 11 16:28, Luke Ordelmans wrote: > Running cygwin 64-bit on Windows 8 doesn't allow me to remove group permi= ssions from a file. On 32-bit cygwin doing the same thing works fine. > =C2=A0 > Luke AT Sorcerer ~/test $ uname -a > CYGWIN_NT-6.2 Sorcerer 1.7.23(0.268/5/3) 2013-08-09 10:05 x86_64 Cygwin > Luke AT Sorcerer ~/test $ touch test > Luke AT Sorcerer ~/test $ chmod -c 600 test=20 > mode of `test' changed from 0660 (rw-rw----) to 0600 (rw-------) > Luke AT Sorcerer ~/test $ ls -la total 4.0K > drwxrwx---+ 1 Luke None 0 Aug 11 15:40 ./ > drwxrwxr-x+ 1 Luke None 0 Aug 11 15:40 ../ > -rw-rw----=C2=A0 1 Luke None 0 Aug 11 15:40 test > Luke AT Sorcerer ~/test $ umask > 0077 Works fine for me. The only reason I can see is that the permissions and inheritance rules on the parent directory are so that the None group always has rw access, despite what you set for the file. What does `cacls .' and `cacls test' print? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --H1spWtNR+x+ondvy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAEBAgAGBQJSCLQ9AAoJEPU2Bp2uRE+gAQgP/3twL25oxga+5M1r+H2IK7/V 3Sd1fWmHhUvc3WZei4FCH91MXy0P1uOZQhDWSPb505/cW5Ws80CMBYpY/pp/tiqR 46OXkL6NSGZH3vPHLMQaxOe60aM2pQw+4360daJ7E+yV/RYDVqMSmtNBwxYvVZIB E91eKSYH9yfRjPP8/z/XR0/ppsyieZq35pBDCw7qChZrfyXlbMDjUN3kzlzH4sn9 pW/zWNvCsJFTM+E92XJtGLJICtgz4Pwk+TAVtecTGtvTDCscVYCxqyY85Avr9YSh pLsOZMDT3oPKI4WjoFJLmlggI/Gs4wL9GouCR1ZHgR/qnQm62vi8a31+5MEnDx6F is/07T9eO3Qh0KV9Ollptd8bq6hlr/UyIh1buuHDIBpE9tuCL6PSAKN3Tem8M0Yc KNhBs/nsVEWOWlqwULkEaI47tLKShXEYPCe9WWq8kPzYXb5QKM/8W7XhFMjyfUR8 R0+3cpTYinLentgPCwgxVf77uW//20xwwDQGLpFIAfzVk4zWOC+fRQFn0nZLX7OA 7ks56tlAfI7xM1xg6gljAd6YA7hed+0BI8xUd09eenfMi7sGw5V+Uq1M4jQCBvz+ 492BEeiSPTScy4bSY1nQh4djWRCbBuoDGmrpmTekviTN7NhvJohKLAONkjwfW4ZL Dwsg1z5C3GRzOMWBwxBQ =q09V -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy--