From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8226 invoked by alias); 7 Aug 2013 18:33:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8205 invoked by uid 89); 7 Aug 2013 18:33:34 -0000 X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 07 Aug 2013 18:33:32 +0000 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r77IXO9B028356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Aug 2013 18:33:25 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r77IXNWv015767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Aug 2013 18:33:24 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r77IXNK9015751 for ; Wed, 7 Aug 2013 18:33:23 GMT MIME-Version: 1.0 Message-ID: <479059e9-1e1f-4289-9bfb-98dac1c1fafe@default> Date: Wed, 07 Aug 2013 18:33:00 -0000 From: Drew Adams To: cygwin@cygwin.com Subject: chmod questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-08/txt/msg00114.txt.bz2 I have read various info regarding trying to make Cygwin's `chmod' work as (I) expected, including the Cygwin FAQ and user guide. I am using Windows 7 with an NTFS disk. My user and group are defined as they should be AFAIK. Two questions in this regard: . is "chmod a-w" supposed to set the Windows Read-only attribute on Windows 7? . is "chmod a-w" supposed to cause "ls -l" to show -r-r-r on Windows 7? When I do `chmod a-w' it does not seem to have any effect. The target file is still writable. Can someone please tell me what I'm missing? Thx. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple