public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: K Stahl <kdstahl@gmail.com>
To: cygwin@cygwin.com
Subject: umask not honored?
Date: Fri, 22 Jan 2016 07:13:00 -0000	[thread overview]
Message-ID: <CAMK_jUWKGzY0dO+uJN87Ug8izt09vRJE0=ToAgPVjUdGCfiNjg@mail.gmail.com> (raw)

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

             reply	other threads:[~2016-01-21 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22  7:13 K Stahl [this message]
2016-01-22 18:39 ` K Stahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMK_jUWKGzY0dO+uJN87Ug8izt09vRJE0=ToAgPVjUdGCfiNjg@mail.gmail.com' \
    --to=kdstahl@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).