delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/14/00:52:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4802E2F5.6000208@cwilson.fastmail.fm>
Date: Mon, 14 Apr 2008 00:52:05 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Vista + cygwin basics
References: <4802CD4D DOT 2030805 AT cwilson DOT fastmail DOT fm> <4802DAF5 DOT D77E65FE AT dessent DOT net> <4802DD55 DOT 9F69E38B AT dessent DOT net>
In-Reply-To: <4802DD55.9F69E38B@dessent.net>
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

Brian Dessent wrote:
> Correction - it doesn't try to do anything with the permissions as
> stated in the tarball.  At startup it does try to set a DACL in the
> process token that contains Everyone:full.  However, as I understand it,
> the DACL only applies to files created in situations where they would
> not otherwise inherit an ACL, so if the Vista default for C:\ contains
> inheritable settings (as I would imagine it has to) then this wouldn't
> apply.

I used the Windows Properties dialog on C:\cygwin to add 
'Administrator:Full Control' on my existing cygwin installation (since I 
had done very little personalization, there were no "private" files 
belonging to my unprivileged self to worry about).

This propagated down to all contained objects.

Now the perms/ACLs look a bit more sane.

$ ls -l aatest.exe
-rwxr-x---+ 1 Administrator Users 6144 Mar 20 13:53 aatest.exe

$ getfacl aatest.exe
# file: aatest.exe
# owner: Administrator
# group: Users
user::rwx
group::r-x
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:---

It's not that anything was noticeably broken -- it's just that things 
looked so WEIRD I didn't really try to DO anything; afraid that I might 
have to wipe out any customizations and start over.  Now, I've been 
involved with cygwin for a long time, but Vista+cygwin gives me the 
creeping heebie-jeebies...or maybe I'm just over-thinking it.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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