Mail Archives: cygwin/2016/07/30/17:40:27
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:mime-version:in-reply-to:references:from:date
|
| :message-id:subject:to:cc:content-type; q=dns; s=default; b=SnAx
|
| TinLvx/7hji/grysg8Y9IKDZxmATuI13XXPSqJzZ8GaKgGEdKA4xYUoOxrRXUx08
|
| MoZekKSwitfCz6i0FL0reg5EQmmWoQxwAwsqMJgK+lqbMA5jDQDYEuRgU5P2Vrl0
|
| t8SCcriM/drqi0i6Jvfs8Ktd9E8m7elcVcudjeA=
|
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:mime-version:in-reply-to:references:from:date
|
| :message-id:subject:to:cc:content-type; s=default; bh=FEI6t4I+jz
|
| ESJ9fmE9Htgekgj7E=; b=IwRj/v6/dKzcgCjkMF/sx69dNQBFEDxh63gevSEF2E
|
| YQ3tfzwT8YwC0es4F+DmNrPdwCBwxbvBMaag8jER/F9Mh1+lY3MjkW8fzLRjF0lW
|
| qGS/z9jZUXlsKkzNhGOHDBrnb4RAcMH+xDBZvAAS3VFMKgNCqmRyd3/9GzDLrM6J
|
| M=
|
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=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=reckonergmailcom, reckoner AT gmail DOT com, sk:reckone, U*reckoner
|
X-HELO: | mail-wm0-f53.google.com
|
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=X6+3qSQHuDycIxF8Fyf9S1P5MAFkEqYbJbaVc5cQuuA=; b=E7fWEdHpboipYNCcFdocsfzQznFYhcTQumuruSA5xYDxv2twYMWS92yguKZPHdL+aa ZwB4/SRUTCcpmrs4CbDLsFQIECKrAGYj3MuFXSEI3vnmPrtFzkgctnZqDqNmU0bpzRPz UTeRRo66cylHV+ksq1prQNnfRpII6i7CMnWkqExod/1SCj6bl3/lfZX38zoRKxjaY8e3 0LUsnOw6RqChRC4tqmtk8Y81MkdN2tBbXzIuPdp2en6ydUi01pR1yMt+ktin6klmrm3h u0UuwtGfe1ls3LJkp0xhRTh8MhCK8xlf6PoBM3BfflL+nDkI/3yFZcRtCjqcWejrkoDU ILpQ==
|
X-Gm-Message-State: | AEkoouvdKMkgRB/UhC8gXeFmuDXFJH/5xo0VWiN48a2n9lxYNoY+L6WHpCmOup/PzpBYfP3v81Xu1c3aELjnSA==
|
X-Received: | by 10.28.40.212 with SMTP id o203mr47525292wmo.72.1469914794506; Sat, 30 Jul 2016 14:39:54 -0700 (PDT)
|
MIME-Version: | 1.0
|
In-Reply-To: | <CAH_4+3=kfU+Ub=FR=2cKw0pnOMGO9cqtDZ8DRTXEF6_VAKsQiw@mail.gmail.com>
|
References: | <CAH_4+3nbAqT4VH4Mf6i+af1w6yvazq+mH7xUBJCWtafyPtQJ2g AT mail DOT gmail DOT com> <111813199 DOT 20160730231402 AT yandex DOT ru> <CAH_4+3=kfU+Ub=FR=2cKw0pnOMGO9cqtDZ8DRTXEF6_VAKsQiw AT mail DOT gmail DOT com>
|
From: | Reckoner <reckoner AT gmail DOT com>
|
Date: | Sat, 30 Jul 2016 14:39:53 -0700
|
Message-ID: | <CAH_4+3kCP1_N+ikoMDDSkVrUQ5cmQcOY_h5jESkwcEC6z7U1VA@mail.gmail.com>
|
Subject: | Re: Strange permissions set when I create files in my home directory on windows 10
|
To: | cygwin AT cygwin DOT com
|
Cc: | anrdaemon AT yandex DOT ru
|
I mean '/home/jhu' as the user's home.
Sorry for the confusion.
On Sat, Jul 30, 2016 at 2:38 PM, Reckoner <reckoner AT gmail DOT com> wrote:
> Thanks for your reply. By "home" directory, I mean "/home/". This is
> c:\cygwin\home on Windows but /home/ on cygwin.
>
> % icacls foo
> foo NULL SID:(DENY)(Rc,S,WEA,X,DC)
> S4\jhu:(DENY)(S,RD,WD,AD,REA,WEA,DC)
> S4\jhu:(D,Rc,WDAC,WO,RA,WA)
> NT AUTHORITY\Authenticated Users:(DENY)(S,X)
> NT AUTHORITY\SYSTEM:(DENY)(S,X)
> BUILTIN\Administrators:(DENY)(S,X)
> BUILTIN\Users:(DENY)(S,X)
> S4\None:(Rc,S,RA)
> NT AUTHORITY\Authenticated Users:(RX,W)
> NT AUTHORITY\SYSTEM:(RX,W)
> BUILTIN\Administrators:(RX,W)
> BUILTIN\Users:(RX)
> Everyone:(Rc,S,RA)
>
> Successfully processed 1 files; Failed processing 0 files
> % getfacl foo
> # file: foo
> # owner: jhu
> # group: None
> user::---
> group::---
> group:Authenticated Users:rwx #effective:rw-
> group:SYSTEM:rwx #effective:rw-
> group:Administrators:rwx #effective:rw-
> group:Users:r-x #effective:r--
> mask:rw-
> other:---
>
> Thanks!
>
>
>
> On Sat, Jul 30, 2016 at 1:14 PM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
>> 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 -