delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/30/05:25:39

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=sYatDCxZugndxORDmLwYlg1P413VrsymoLqS61is+Ut
56Wk6SceCn6xEvfJD5NCBkrbn5vnVlNO7PFi3ADPy2cu1XI4MIyVD36888ugMlig
jImPUknuYnu0Y0kjQmI7eOvqkAIQ9cb6ikubip07qOYLWmp8dGTlHUKDRZ9sqmDM
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=6zc+cEmVkW2d72YIVBLeSC6yKB0=; b=giUCeu2rBE3PFd3wY
nDyyvjjr/7RZK90ZG2I9ODnPdIYe96wNlv+0ohmYLDJeRKGtD5n2MtR79K+nZ5FA
cN5x9U2ff60j/Q+C3iNqVPhhiq+xf8/KCS1Qm1XvK7nNxyXBYqSxa2L+HUuAsHkd
rJmghKp0lc2idhgAZ5WaTzLBY0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: konqorde.nl
Message-ID: <52C14A0C.1030806@mailme.ath.cx>
Date: Mon, 30 Dec 2013 11:25:16 +0100
From: bartels <bartels AT mailme DOT ath DOT cx>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131104 Icedove/17.0.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: chmod Not Working
References: <CAC9y1U=H5=5rD_U6X3hCpbGpnM34NuP_PNcFxx2YW5Zxpj3dbg AT mail DOT gmail DOT com>
In-Reply-To: <CAC9y1U=H5=5rD_U6X3hCpbGpnM34NuP_PNcFxx2YW5Zxpj3dbg@mail.gmail.com>
X-IsSubscribed: yes

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?

-- 
- Bartels


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