delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/19/04:57:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4881AC61.7030807@alice.it>
Date: Sat, 19 Jul 2008 10:57:05 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: File permissions cygwin install
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

Corinna Vinschen wrote:

 >
>> I don't beleieve it is supposed to be this way?
 >
> 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.

OK, this is known. But...

Is it supposed to be that way on Cygwin [1]?

Or we can adopt some workaround?

For example on Linux:
    drwxr-xr-x  3 root root    0 Jul  4 13:52 home

and similar for /lib, /usr...

While on Cygwin:
    drwxrwxrwx+  3 Administrator  Users 0 Jul  4 13:52 home


It should be at least:
    drwxr-xr-x  3 Administrator Administrators  0 Jul  4 13:52 home


or not?


Cheers,
    Angelo.


---
[1] "a Linux-like environment for Windows".

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