delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/19:11:54

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=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 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.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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <953541574.20150210025027@yandex.ru>
To: diod lightbulb <greendiod AT gmail DOT com>, cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com> <20150209162607 DOT GE5633 AT calimero DOT vinschen DOT de> <CAO=+TS_qZU45mZz3uHu7GznFMDgU7cEyvZEMLZOWFCibbb9Pxg AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


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