This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Strange permissions set when I create files in my home directory on windows 10
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Reckoner <reckoner at gmail dot com>, cygwin at cygwin dot com
- Date: Sat, 30 Jul 2016 23:14:02 +0300
- Subject: Re: Strange permissions set when I create files in my home directory on windows 10
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru
- References: <CAH_4+3nbAqT4VH4Mf6i+af1w6yvazq+mH7xUBJCWtafyPtQJ2g@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
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