delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/21/19:20:19

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=wOUvneJE7/vpT88u
dX8VatHTjmYhJFzxEgPoMyo43tvJK/KrUxgS0KcQF+xrPWAjX8T3yHZUs80gxcNJ
WlSotlUe9FzHGT8YTwssK96/mJ5svgbXsRJqGQKpta5mwZiYnrQs9DvCKS73itAi
f6Qb9Ezty3i0SL+4QRd40Ow6r8k=
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=+uVZwnh/NIGWbw/0CPMfaM
zaaXY=; b=AK+n39N3b4Z1eJahZu3ZjGKuWX+t+l97uHE4YUgwZxxuqx7EDkXlzg
AQtW4ZJPB40+jF091SFBAOSIT31H3sGqzj9647d61c+jNFHtJ3knfHBLPQD5G93M
/zyq9bmYptJgp+xmcUkMjcfsK6pqx+r7Rktk4/44f/z7JX2xRAcDM=
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.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:yandex, H*RU:192.168.1.10, H*r:ip*192.168.1.10, Hx-spam-relays-external:192.168.1.10
X-HELO: forward105o.mail.yandex.net
Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 22 Mar 2018 01:57:51 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1292173685.20180322015751@yandex.ru>
To: Achim Gratz <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
Subject: Re: umask not working?
In-Reply-To: <87bmfhfepm.fsf@Rainer.invalid>
References: <000f01d3bf80$a2e0d8c0$e8a28a40$@cl.cam.ac.uk> <1941712084 DOT 20180319200734 AT yandex DOT ru> <E51C5B015DBD1348A1D85763337FB6D90189B91D4F AT Remus DOT metastack DOT local> <87bmfhfepm DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Achim Gratz!

> David Allsopp writes:
>>> You have extended ACL on the object. And overall, umask is not a good
>>> idea in Windows.
>>
>> "umask is not a good idea in Windows" - where's that come from?

> Ask three people and get at least seven answers.

> Actually Windows is a red herring IMHO,

Not so much a red herring, but it was mentioned in the reply to the specific
issue, also because of how Windows actually implemented access control, which
is much more sane than simple POSIX permissions.

> it's the combination of umask
> with DACL is the thing that doesn't mix well unless you keep it in a
> very tight box.  In your case, if you'd just remove the DACL from the
> directories your repo is in (and any files and directories below
> assuming that the ownership is the same for all of them) it'll probably
> immediately start working as you expect it to.  Depending on which
> volume the directory is actually on and what WIndows software tries to
> touch it you might find that some of these come back after a while, I
> generally avoid any system volume for that reason.


> Regards,
> Achim.


-- 
With best regards,
Andrey Repin
Thursday, March 22, 2018 01:09:01

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