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: 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 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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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