X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=esPQ+KCv4QG+5NqkSuwqL2QPzs3cR
	9Lrl8Dnx9MP8dDAK6cDhmN6i1NXXwkvlxnTOA/Rqc7U4S1rOmGveHksdOxen2vD+
	RQsXl2ugHC4HYFMaQxoVCsyJj4Js/9fbEaDA58FK2KgC1u7wSk1HUIoQ85uw5uzU
	x+w2zfyb8dakgY=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=R9ArxTOpP7KMu+YUEXmyD9KgXsY=; b=deD
	oSR20kWZIceZWRXfs3pVh4ZUsLq1wRs2b8LYoZxG7XoeFl5fnX7YkdZFHqlSbR6T
	BBtnSUAGrmq1Jx8BX+fH/m13QgrmZdjicE6R/y2CptQEZUCyTaFRngqEChimpIQA
	ZIeCt3WJ/Pc44FvHMayzssVzx5GQbK7vnIUXq5SA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2
X-HELO: USA7109MR006.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth.Nellis@xerox.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: chmod Not Working
Date: Mon, 30 Dec 2013 19:23:10 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702CDD0A29@USA7109MB022.na.xerox.net>
References: <52C14A0C.1030806@mailme.ath.cx>
In-Reply-To: <52C14A0C.1030806@mailme.ath.cx>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rBUJNTaD019088

From: bartels
> 
> On 12/30/2013 06:16 AM, Nithin Kurien wrote:
> > When I type the following sequence of commands:
> >
> > cd ~; mkdir sample; chmod -R 0700 sample; stat -c "%a %u %g" sample;
> > rm -rf sample; mkdir sample; chmod -R 0755 sample; stat -c "%a %u %g"
> > sample
> >
> > the output is:
> >
> > 770 1001 513
> > 775 1001 513
> >
> > Why is chmod not working?
> >
> > OS: Windows 8 Pro 64-bit
> > Cygwin Setup.exe Version: 2.831 (32-bit)
> 
> That looks fine to me.
> What do you expect?

Presumably because when the OP asked for 700 he got 770, and when
he asked for 755 he got 775.

--Ken Nellis

--
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


