Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin AT cygwin DOT com Cc: David Starks-Browning 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 References: <11594 DOT 992031428 AT www40 DOT gmx DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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