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:date:message-id:subject:from:to :content-type; q=dns; s=default; b=TN1EyCv4h2eIuLwBRBnAuGPVyDEA4 b3iGFxAcV7itw+FMu62f4T7ZWV+SfOopsliB+JU7d254pRGyP/kKXumHgzdtn6Zv lg8FIwkwilyec/HS6xluNpirtr47DggdhybINlq2GKx0Ql1FXqYG/2cY4k6XFW9n D+Ad47wG05aEbo= 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:date:message-id:subject:from:to :content-type; s=default; bh=/DTE/JNw9h3wYJauO75/hzw99x0=; b=DA2 SB+LAYiqD4qu+DdStzxt3GMiZCDgPkfVg8cjWJIUhadqN8n/7HAMcW9u+Lf4Zwp0 yS2APBVm4cn2vRBjLesy3Fv8WbJBsVhLHyl1QMHN6Iz1WVR+eDQFXl0thytGEc1j xTZ3mvol9HgjJ5XGsfFHabSNHzJ9QfbftzLlf1Yk= 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=1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f41.google.com MIME-Version: 1.0 X-Received: by 10.194.174.36 with SMTP id bp4mr44002943wjc.7.1388380585386; Sun, 29 Dec 2013 21:16:25 -0800 (PST) Date: Mon, 30 Dec 2013 10:46:25 +0530 Message-ID: Subject: chmod Not Working From: Nithin Kurien To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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) -- 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