delorie.com/archives/browse.cgi | search |
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: | Thu, 26 Apr 2001 11:32:06 +0200 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | Cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: ntsec environment variable |
Message-ID: | <20010426113206.G3827@cygbert.vinschen.de> |
Mail-Followup-To: | Cygwin <cygwin AT cygwin DOT com> |
References: | <005701c0c731$71e7de80$c4332041 AT campbell> <20010417135556 DOT E12559 AT cygbert DOT vinschen DOT de> <001901c0c773$0fd99ca0$c4332041 AT campbell> <20010417214024 DOT D15962 AT cygbert DOT vinschen DOT de> <000b01c0c7d7$8ae4cb40$c4332041 AT campbell> <20010418100247 DOT K15962 AT cygbert DOT vinschen DOT de> <002d01c0ce2e$216ddf00$c4332041 AT campbell> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <002d01c0ce2e$216ddf00$c4332041@campbell>; from DaleCampbell@revolutionist.com on Thu, Apr 26, 2001 at 04:51:48AM -0400 |
On Thu, Apr 26, 2001 at 04:51:48AM -0400, Christopher Dale Campbell wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > - --SNIP-- > > > > And chmod is ok to use for all users as long as they have the > > permission to do so. But my instruction was buggy. Ok, *sic*, > > try that: > > > > chmod 755 . > > chmod -R 755 bin > > find learn_c src -type d | xargs chmod 755 > > find learn_c src tmp -type f | xargs chmod 644 > > > > Corinna > > > - --SNIP-- > > Will this also work for / ? As in, as 'administrator', could I do a: > > find / -type d |xargs chmod 755 > find / -type f |xargs chmod 644 > > Would that give most things the correct permissions? Because after a > new install, and using the 'ntsec' env. var. all files are 777 > (-rwxrwxrwx). That would be somewhat dangerous since all files which are executables need the x bit set. And that are not only .exe files but also .dll files and all shell scripts. So don't do this. Many small steps are better here. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |