delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/07/14:33:51

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:mime-version:message-id:date:from:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=uBo
Q3VbUQLzAxDX4Naj3sNG8QtbjF3OTTYpEC7LU4XK3hJsr6BnXu/8PFQebfDI79pj
8GIXWhJLrRvw2tmy+zDUHF3HkXLxWGQPKaGkdluepyJwq+X/JZ9BF34rxhZ+UbRc
kfbhePPirM+9xRmx7iKP5slteLgAuY6XOOeE3/4A=
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:mime-version:message-id:date:from:to:subject
:content-type:content-transfer-encoding; s=default; bh=NKl406kjS
XzbzDM6kiIKe+Nu5BY=; b=NJI3+73cdV6HN3aVwgUOldz6w9r7qexhhC2p/jSyO
97yuhl6lkPA1/C8XcmIFNh00d/zPHL+66BnmnI4DO/qUGVnoHK8fuSsr8QJ9e4vx
+FS40o3OQiXhS48L0AW0eOSD3XNnV/7XZVjdXyMOrs+dHV1rn643I7ypwhhtoz+w
wA=
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
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
MIME-Version: 1.0
Message-ID: <479059e9-1e1f-4289-9bfb-98dac1c1fafe@default>
Date: Wed, 7 Aug 2013 11:33:22 -0700 (PDT)
From: Drew Adams <drew DOT adams AT oracle DOT com>
To: cygwin AT cygwin DOT com
Subject: chmod questions
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r77IXmqa016349

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019