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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Tye 29iBIGfPc631UJ5O6lXs4WvY4Z91DDlClqVTTmsdka+ni9Zn6nZvkos80Txbj1Oa h1GDUcDmFqcwhfZm2I8S2SpkRPWdl/tdjnMMl3u2y5kef2R2uAng8BA/CBIshBdn jTwGqsdoFJzzulu40xdtYuEQ/HeQirXGdUX9jCgw= 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:mime-version :content-type:content-transfer-encoding; s=default; bh=z7C0BoVbW 1VolmsJo98oxTvbjwQ=; b=NqPNDuC6a0vtma1KkY/h6ikwqErScH1PM8Ug2qPKi Y4jh23llOGAlikodFxX2jNu7ZpPMjSEsc4SHw6UR92II/M+nuy+EKV3qVMalZ5C6 dlKv04iyR6P8OaqbyvFAVtF38ELNuaBlyw+aoBg7KLDLtQV83+f7V5ZOW0/EzE1+ a4= 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.5 required=5.0 tests=BAYES_20,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*UA:16.0, H*x:16.0, H*r:LOGIN, inadvertently X-HELO: ppsw-30.csi.cam.ac.uk From: "David Allsopp" To: Subject: umask not working? Date: Mon, 19 Mar 2018 12:48:46 -0000 Message-ID: <000f01d3bf80$a2e0d8c0$e8a28a40$@cl.cam.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Is this expected behaviour: OPAM+DRA AT OPAM ~ $ uname -a ; umask ; touch /tmp/foo ; ls -l /tmp/foo ; mkdir /tmp/bar ; touch /tmp/bar/foo ; ls -l /tmp/bar/foo CYGWIN_NT-6.1-WOW OPAM 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin 0022 -rw-r--r-- 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/foo -rw-rw-r--+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar/foo Why does the file /tmp/bar/foo get g+w when /tmp/foo doesn't - I'm not sure what to look at on my system to diagnose what I may have inadvertently tweaked. The directory itself is: drwxr-xr-x+ 1 OPAM+DRA OPAM+None 0 Mar 19 13:44 /tmp/bar Thanks! David -- 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