Mail Archives: cygwin/2016/07/30/17:39:23
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=rV+v
|
| J+e3oh+MhssdHHJhoEkGpLFGnT+cDiPzrwXD36xm5T/1V1eWAa8/vz6slxvNvHXc
|
| mP+4ptXVaX8ct/+Dv7YN8f9Hzafkuz8rMPMfZRd5Rp5gcyXoQzYSS7/bmbSfRKHI
|
| NVhtK1VyV7Gp/xht1aKQsCbYedjw8x+/YbCNYIk=
|
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=b6CFRuE48T
|
| jCp2nwHt0YRqemlnY=; b=euFz1oYFvn+sXgESvFuJ/X08aIGM7YqkEF4AN/yw/7
|
| vyGMKbQ3hAifV/OkIAE64Qqp5EIEgxlykD+qhZB3lKFcCo6tcyqcLM5BlufP2dtt
|
| GojMBXAbhDIlnMD3Hyh4P82masbNiH99yv8FxnzcrsWGBgxmq9FXmMRQH/4EfR/f
|
| 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=0.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=authority, reckoner, Reckoner, authenticated
|
X-HELO: | mail-wm0-f41.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=ph0uvTUIyB/zvU8kNqhl46S13BniCSkT6JwbssXJx+U=; b=MaD+r5y+4lk8TOE5jxxCOjPmOD9bHt+pBz2KhqSLkM2zzVZEll8+V7DftPLI+D0bk4 +mkxO1yl4l5xU3anmSCI5iI2sW81s15k1j7nQVYto0AvmHqwP4ZwMUBtM+LbmZf7JOm0 WI/b0E0Zhu0z4tDQDvgsWDqihkV6WSkgWYH3FCxOQd7i+TgQQVZBI4RcebwnjVHobr+P TLpYqrhDHLScVQi7Y0Gw9Sml27NOIMEdvxFyi2tBjqymfqo4Py6c/9R8KC9VmGfkEpF9 9Ic/iVwSWOuHBKjtmVcLQRUuAz3Q8UKV0tl6ej9Q4ZGf/2hnfA1kXDhCtQ2x/Ei5u5sW Jp2Q==
|
X-Gm-Message-State: | AEkoouuuUxcR1tuGoKnKg7fDzccQCExdASZJk0KMsPk+1mjk5K/OTcg4a50wKrjwyJdW6XwW6GeG46KMhFGd7A==
|
X-Received: | by 10.28.127.138 with SMTP id a132mr6657730wmd.72.1469914733533; Sat, 30 Jul 2016 14:38:53 -0700 (PDT)
|
MIME-Version: | 1.0
|
In-Reply-To: | <111813199.20160730231402@yandex.ru>
|
References: | <CAH_4+3nbAqT4VH4Mf6i+af1w6yvazq+mH7xUBJCWtafyPtQJ2g AT mail DOT gmail DOT com> <111813199 DOT 20160730231402 AT yandex DOT ru>
|
From: | Reckoner <reckoner AT gmail DOT com>
|
Date: | Sat, 30 Jul 2016 14:38:52 -0700
|
Message-ID: | <CAH_4+3=kfU+Ub=FR=2cKw0pnOMGO9cqtDZ8DRTXEF6_VAKsQiw@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
|
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 -