delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/15/12:32:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 15 Jul 2008 18:33:22 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: File permissions cygwin install
Message-ID: <20080715163322.GL24644@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20080715144734 DOT GB9208 AT cs DOT uu DOT nl>
MIME-Version: 1.0
In-Reply-To: <20080715144734.GB9208@cs.uu.nl>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jul 15 16:47, Henk van Lingen wrote:
> 
> Hi,
> 
> I'm a cygwin rookie and can't get I clear clue (after googling) as to why
> after installing cygwin on WinXP I have these permissions:
> 
> $ ls -al /cygdrive/c/cygwin/
> total 9
> drwxrwx---+ 11 administrator  Users     0 Jul  4 13:52 .
> drwxrwxr-x+ 11 Administrators SYSTEM    0 Jul 15 11:10 ..
> -rwxr-x---+  1 administrator  Users    57 Jul  3 11:46 Cygwin.bat
> -rwxr-x---+  1 administrator  Users  7022 Jul  3 11:46 Cygwin.ico
> drwxrwx---+  2 administrator  Users     0 Jul  3 11:45 bin
> drwxrwx---+  2 administrator  Users     0 Jul  3 11:44 cygdrive
> drwxrwx---+  2 administrator  Users     0 Jul  3 11:44 dev
> drwxrwx---+ 15 administrator  Users     0 Jul  4 13:57 etc
> drwxrwxrwx+  3 Administrator  Users     0 Jul  4 13:52 home
> drwxr-x---+ 20 administrator  Users     0 Jul  3 11:44 lib
> drwxrwxrwt+  2 administrator  Users     0 Jul 15 16:00 tmp
> drwxrwx---+ 17 administrator  Users     0 Jul  3 11:44 usr
> drwxrwx---+  9 administrator  Users     0 Jul  4 13:21 var
> 
> 
> I don't beleieve it is supposed to be this way? I.e. it seems odd to give
> users write access in all kind of system directories?

setup.exe creates the files with Windows default permissions. 
Usually those are determined by the inheritable permissions of the
parent directory in which you install the Cygwin directory.  Setup
is a plain Win32 application which doesn't know about POSIX perms.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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