delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/25/12:04:21

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=NWXlVIKsmnuE1N0Q
KGOvZ5oPPW9l6ITOPEgiL/bt18/TpbWlpBaqtH+ow0t6tKjpi50+/fc7SKCptxlh
qIiLWhkSQCl/UqmER2RgDsups8U0bzEdnBiXC5DrrIoqVjL8eVSQQz/KegHb0cuf
ahKPxPELKsHy37L0WGnCjriZAtk=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=VMbHaV1wnyZwuwfk1tVT0o
lZ5+w=; b=mAPq4m0hHbmWz4sFMxFoPE1VT57KgQ1Ia/S2pdEQNHSr4IZEicaEC8
ySupjoOW9F6sbA/wMIaIARPQrgSHroe03jbU4DDazfLAqhKw+5ilgoJB8aAi66xH
KLmFrd5koSKJEy9ZwzMY++LLW3EFQ08Ba7tG95VWTObzKX2FmRORk=
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.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Issues encountered with new Cygwin version
To: cygwin AT cygwin DOT com
References: <BLU182-W10FB6B21A2AEC90F71470FD4450 AT phx DOT gbl> <154887677 DOT 20150923111537 AT yandex DOT ru> <BLU182-DS2B4F831FEB7E4C1B67330D4440 AT phx DOT gbl> <56036256 DOT 8080209 AT tlinx DOT org> <BLU182-DS2567923242507AF88D9315D4430 AT phx DOT gbl> <56037F66 DOT 40209 AT tlinx DOT org> <BLU182-DS177F609D3B4BC69A880C77D4430 AT phx DOT gbl> <56042985 DOT 2040104 AT tlinx DOT org> <BLU182-DS23E73EC671521B950E6875D4420 AT phx DOT gbl> <560566EA DOT 3010503 AT cornell DOT edu>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <56057078.3080907@cornell.edu>
Date: Fri, 25 Sep 2015 12:04:08 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <560566EA.3010503@cornell.edu>
X-IsSubscribed: yes

On 9/25/2015 11:23 AM, Ken Brown wrote:
> I think you misunderstood what Marco was saying.  If the problem is
> caused by the default ACL on the directory, you could fix that ACL.

To elaborate on this, observe the following:

$ cd /cygdrive/c/Users/kbrown/AppData/Local/Temp

$ getfacl .
# file: .
# owner: kbrown
# group: SYSTEM
user::rwx
group::rwx
group:Administrators:rwx
mask:rwx
other:---
default:user::rwx
default:user:kbrown:rwx
default:group::rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:mask:rwx
default:other:---

$ mkdir foo

$ getfacl foo
# file: foo
# owner: kbrown
# group: None
user::rwx
group::r-x
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:r-x
default:user::rwx
default:group::r-x
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:mask:rwx
default:other:r-x

$ cd foo

$ touch bar

$ getfacl bar
# file: bar
# owner: kbrown
# group: None
user::rw-
group::r--
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:r--

$ ls -l bar
-rw-rwxr--+ 1 kbrown None 0 2015-09-25 11:56 bar*

$ setfacl -b .

$ getfacl .
# file: .
# owner: kbrown
# group: None
user::rwx
group::r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x

$ touch baz

$ getfacl baz
# file: baz
# owner: kbrown
# group: None
user::rw-
group::r--
other:r--

$ ls -l baz
-rw-r--r-- 1 kbrown None 0 2015-09-25 11:57 baz

Ken

--
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