X-Recipient: archive-cygwin@delorie.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=RFk6dmarzV0xat5S
	mOg92Z2znm4Gk6Un8CfSjudJbx5JsC7vHL/TkDh2XFqRqdOk0WRYqwDLsB4n6O/E
	fVpr6bE35Dkq5cg+vmVh3KJhXtZ9U8K8VGlmgwoIicsto7HHxMLWIsGfk1Jh9jis
	ffd3Ifd5h5LbxNlDrUnR6XjSub4=
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=ZKGjnrJmDONvmbmdA65cDy
	TNb8Q=; b=LzQzkmruIf1I3cUndCWv98o5H29Ilryfj1YtNJLbWFlJIbLahi0a0k
	zVR7i/0+cupEcGPQOvb/ckzGOCRKJK/SU115utXZKxFzMr9YwoaYtztCLMFiZncj
	siMHf98Ld0nfGUBt+Xics2q2ivdwx640pTzFd0FQoXmoOMr1rIC3Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Tue, 10 Feb 2015 02:50:27 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <953541574.20150210025027@yandex.ru>
To: diod lightbulb <greendiod@gmail.com>, cygwin@cygwin.com
Subject: Re: ls not in sync with chmod (weird problems with file permissions)
In-Reply-To: <CAO=+TS_qZU45mZz3uHu7GznFMDgU7cEyvZEMLZOWFCibbb9Pxg@mail.gmail.com>
References: <CAO=+TS98PdSMcxRoX1RgF3kawZ-XCTE6LKzGYkFEFuCrTtB54A@mail.gmail.com>   <20150209162607.GE5633@calimero.vinschen.de>  <CAO=+TS_qZU45mZz3uHu7GznFMDgU7cEyvZEMLZOWFCibbb9Pxg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, diod lightbulb!

> All I can do now is apparently to run all my pre-existing files thru
> setfacl -b (I like to keep my files with 644 permissions) followed by
> chmod. I just have to figure out how to retain the execution bit for
> the few select executables that need it.

> However, I'd like to ask somthing else, is there a way to make newly
> created files outside my home to respect my umask? I just tried touch
> still buggy; ll stillbuggy reports -rw-rwxr--+ while  stat -c " %a %u
> %g" stillbuggy     gives back " stillbuggy 674 1000 545. So ACL still
> seems in effect on both my D: and E: drives except my cygwin home
> directory. Any hint welcome.

Hint: don't bother with it.
You're trying to create a lot of trouble for yourself with very little gain.
Only look for POSIX permissions, where you absolutely MUST have them literal
(i.e. where you have to cater to buggy software that don't properly understand
ACL's).


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 10.02.2015, <02:44>

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

