This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange permissions set when I create files in my home directory on windows 10


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]