From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120336 invoked by alias); 22 Jan 2016 14:33:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 120315 invoked by uid 89); 22 Jan 2016 14:33:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Somehow, H*i:CAMK_jUWKGzY0dO, kdstahl@gmail.com, sk:kdstahl X-HELO: mail-wm0-f45.google.com Received: from mail-wm0-f45.google.com (HELO mail-wm0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 22 Jan 2016 14:33:26 +0000 Received: by mail-wm0-f45.google.com with SMTP id l65so263416611wmf.1 for ; Fri, 22 Jan 2016 06:33:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=leFaBKzOE/Gecb/w7sCrwaJms7n330Clk78urwiuQTM=; b=Gp+BHe2CrLf1itZgVebAaCO/ls2tEKOEGh4g6UFwS3vxvFDBbCFGI+cHuBYRmuB5cJ t+WcS67+d7fNHJkGN4/cPD3jRBoks/eaHJ5IKrreOCfs5e2rDu96UScfQu7XCH0Nkjp0 QgD4N7Pa3ofOE53yJC0csV5aakq0KSLBmM04wVAmBKKsja4dumLtT58xYkNdrkvVzdk7 mbOkeRgUEagwiRU786bTdUhD1+C53v/ZvAtCK2AaXwZw0dQYo11Kw6Byw5E5gLH3CEO5 LRq8c9kYkA74ZlZ5PtPsg0nkvZSyompqj4lZue8Ek1zaImAUI5FyC2nxi3P2zwGOd14I V5qA== X-Gm-Message-State: AG10YOTDtfSiRFWRgo0WPR19WMQAcjEqDaRP9m6uBea8+h2sqG4+Dci0RmtRn5SnbLlLz7oRnpueTRjt2H7lEQ== MIME-Version: 1.0 X-Received: by 10.28.187.67 with SMTP id l64mr3733510wmf.39.1453473203410; Fri, 22 Jan 2016 06:33:23 -0800 (PST) Received: by 10.28.147.10 with HTTP; Fri, 22 Jan 2016 06:33:23 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Jan 2016 18:39:00 -0000 Message-ID: Subject: Re: umask not honored? From: K Stahl To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00291.txt.bz2 Discovered the cause of the issue. Somehow, the Win7 permission on my home directory were all messed up. Move my home directory out of the way. Restarted cygwin and let it create the initial directory. Moved my files back in and everything seems to work as expected. On Thu, Jan 21, 2016 at 4:40 PM, K Stahl wrote: > Created a new directory in my home directory with the following: mkdir test > created an empty file in this directory with: touch test/empty > > When I list the contents of this path I get the following: > $ ls -Al test > total 0 > --w-rw----+ 1 kdstah GROUP_CHANGED 0 Jan 21 16:35 empty > > My umask is set to 0022 > My home directory has the following permissions: 750 (use ssh) > > /etc/fstab is configured with: > none /cygdrive cygdrive binary,posix=0,user 0 0 > > If I create the same file within any existing directory, the umask is honored. > > Any thoughts? -- 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