delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/30/16:20:35

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: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 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=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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <111813199.20160730231402@yandex.ru>
To: Reckoner <reckoner AT gmail DOT com>, cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com>
MIME-Version: 1.0
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

- Raw text -


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