delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/10/00:56:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 10 Jun 2001 00:56:07 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
Subject: Re: correct file permissions for default setup with ntsec
Message-ID: <20010610005607.C29397@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com,
David Starks-Browning <starksb AT ebi DOT ac DOT uk>
References: <11594 DOT 992031428 AT www40 DOT gmx DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <11594.992031428@www40.gmx.net>; from dkurtev@gmx.at on Fri, Jun 08, 2001 at 10:17:08PM +0200

On Fri, Jun 08, 2001 at 10:17:08PM +0200, Dimiter Kurtev wrote:
>hi!
>
>of course, this may have been asked a billion times, but i havent found an
>answer.
>so:
>i would like to have the permissions on my cygwin filesystem set to whatever
>they should be in a "real" unix evironment.  setup seems to create
>everything with 777 or 666 even if running ntsec.  this is, of course, because the
>permissions in the tgz files are not set properly.  what is the reason for this?
> would this mess up a win9x system?  could one not check for ntsec,
>blablabla.
>i have seen a script which changes most permissions to root.root 644, but is
>that enough?  of course, every time i update a package those might get
>overwritten, and new files will be 777 anyway.
>so
>1) why dont the packages have permissions?

setup.exe is not a cygwin application.  I suppose that this is one more thing
for the FAQ.

>2) what should i set them to, if i were to write a script (of course, i
>could check some bsd or linux box - would that do the trick?)

Why don't you do the research yourself?  Experiment a little and you might
learn something about permissions.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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