X-Recipient: archive-cygwin@delorie.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:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=N4
	8fzZrRpxSK/iDdheWBG5IK54g21bs5pg7P5LnE2M8y/8OvcM9S9mCKLz7f8XisrW
	JvMPqmwh0ZLaQhgKXmxISJJIi8Y143iFPivaK7wBMFmYjE606rwVnH+yQS3QrjC1
	Axg91T8RDkwC2l2kYQj+4hrpCZYinDIwm7W5QI7lQ=
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:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=9IVkr5eR
	Ilz+TNG3+yxQwKSW1Nc=; b=Z9Ry8rt2SnFYfBuBTJW/VpFe/m2j8Eaoj8eD4zjW
	ht/UL9v21Tjl3McXSRG568v3UiWa2TfgesDF9UsuFW3lxWSTxNx4nHbAlY1SV5dY
	HgzkVCEPFFRi8qiuMByc5TZ76BZvVbOu7O3aMpuyIej5n1FzBJSg+n/8SDlt7D8i
	z9E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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)
In-Reply-To: <CAMK_jUWKGzY0dO+uJN87Ug8izt09vRJE0=ToAgPVjUdGCfiNjg@mail.gmail.com>
References: <CAMK_jUWKGzY0dO+uJN87Ug8izt09vRJE0=ToAgPVjUdGCfiNjg@mail.gmail.com>
Date: Fri, 22 Jan 2016 09:33:23 -0500
Message-ID: <CAMK_jUVKboz4Tfp7d8yhByj2sovQZHZKJPbpKPfmCjgHbaai-w@mail.gmail.com>
Subject: Re: umask not honored?
From: K Stahl <kdstahl@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

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 <kdstahl@gmail.com> 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

