delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/21/16:40:31

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=TQWNfbINX9IrnT08QMn2Zk/Y/fO8w
syoG0qyAlSs/wreF63KQt+r9w4xFJia/1fynuyc8IrnhLJy/WjQvmIj4AVTERa0/
TyD7UTaG53frGi87IeggDbxS46Yv5FnoUJFEvzJErm26ctGUcbUfujhOAw96Cp2g
npB6rQzpXjz/d4=
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=DCaahWSnx2jlfCsI94NATu81LBk=; b=lIy
QKK+92Ex68b5sNWOmka5S8TWPARTlXGIw8qnkuTFptvXQFrC/DdfbSiJeftRpa8y
gNPf4MMqTmWggxhHdoh9PxusG+DAom1dQJt+0VhYrRuXRDq2fy6UzgeT8Gu7wZLU
fWMwqP0xyCkkpfV8evKWU4ZLbQUh1ybAp99AsjUg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.194.71.77
X-HELO: mail-wm0-f49.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:date:message-id:subject:from:to :content-type; bh=wuZLYV1OrqBzBI14ozx8o/0Ncui0l1FCFfZOKSh1o4s=; b=CBQ3jfLRZ0DaEnVGMRu4t75dkFcUe2mVt+NZPsetbfQWhRnE5RI6SbB5iytznz3qo+ X4Z1PLEc3tImu5OosBYEeV6kl3/KBt1+cBGW3qBlQMqzEtRK+YQvQgklt3bxyNMOUEYv 7pFFZ8S7qZUDjEf1iIUlXpfCVNJt1jDgyE5dQW4skuLoyTNLfvRS06dwiFwCXVpwjJ4T Y9wG4psF3bPZiFB4dzvhWkr5H/mBYc+CsRtDLnoX9a4abCj8D1NiHLzYI8LSUjLCHlCB 7CtFQbouFIQ9YxqX+rwcMMTgKZVeMEslCioX/S/M7vjf5g/QpwlFAh4BfVS2W+C/JRae N4Xg==
X-Gm-Message-State: ALoCoQmx57KADKvjiLJ8dOSFTQn9dxUBRGo6GZ0gEQ6h2PqDrFKd+GkdiH0AIwAHwFE7BVMGBKdBFDyZx+ypNIRRvfvq3aH28A==
MIME-Version: 1.0
X-Received: by 10.194.71.77 with SMTP id s13mr52705926wju.175.1453412408893; Thu, 21 Jan 2016 13:40:08 -0800 (PST)
Date: Thu, 21 Jan 2016 16:40:08 -0500
Message-ID: <CAMK_jUWKGzY0dO+uJN87Ug8izt09vRJE0=ToAgPVjUdGCfiNjg@mail.gmail.com>
Subject: umask not honored?
From: K Stahl <kdstahl AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019