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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=jRtfw4aTLrEyB2z5
	Epaua7S+N9DoDc2HqN0I+dUtEJUEvZJbO6eYrlDMSwFwTLu14OxG38P8CvwWuYB9
	dXmCWhrr4qNpDoz37XIJIo08OLVrO691/Pd9mv6XbSODGUw4CV1Nu6mgTsA9tB4I
	71vpX0QRChVJQQP9F/e0RQP8SRc=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=x04pTXl0YxEQsFJYKsl7Kq
	leQD4=; b=ADnI75dauSTwAYP1os9vD69BufPWZpZRb7/w3lMJ6iKtEOMfgi/dWM
	Hf3NIzc+Xpk0kwotzBx/BMvb5RQEemibpTfNjrClI7Jp1pMRf9eJLLS9tLSpnjwz
	teu10ycHXM9the76bnJGS9sg+ur5upjhAUAYL6C9Bu6XZxeKvJKUg=
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=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:yandex, H*F:D*yandex.ru, H*x:Bat!, H*UA:Bat!
X-HELO: forward2p.cmail.yandex.net
Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Sat, 30 Jul 2016 23:14:02 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <111813199.20160730231402@yandex.ru>
To: Reckoner <reckoner@gmail.com>, cygwin@cygwin.com
Subject: Re: Strange permissions set when I create files in my home directory on windows 10
In-Reply-To: <CAH_4+3nbAqT4VH4Mf6i+af1w6yvazq+mH7xUBJCWtafyPtQJ2g@mail.gmail.com>
References: <CAH_4+3nbAqT4VH4Mf6i+af1w6yvazq+mH7xUBJCWtafyPtQJ2g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Reckoner!

> When I do

> % touch foo

> in my home directory, `ls -l` gives,

> ----rw----+ 1 jhu     0 Jul 30 09:16 foo

Define "home directory"? Is this cygwin private home? Your user's home set as
Cygwin home through nsswitch ?
What is the output on said entry from getfacl? icacls?

> Note the permissions. Here's my /etc/fstab


> none /mnt cygdrive binary,noacl,posix=0,user 0 0
> c: /c ntfs noacl,binary,auto 0 0
> d: /d ntfs noacl,binary,auto 0 0

You could save yourself last two lines by just mounting cygdrive as /

> c:/Temp /tmp ntfs noacl,binary,auto 0 0

And you can use private user's temp via

none /tmp usertemp binary,user,notexec,posix=0 0 0

> This just started happening after I upgraded my cygwin install.

> % uname -r
> 2.5.2(0.297/5/3)


-- 
With best regards,
Andrey Repin
Saturday, July 30, 2016 23:10:40

Sorry for my terrible english...


--
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

