This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ntsec environment variable


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone have any suggestions?


- ----- Original Message ----- 
From: "Corinna Vinschen" <cygwin@cygwin.com>
To: "Cygwin" <cygwin@cygwin.com>
Sent: Thursday, April 26, 2001 5:32 AM
Subject: Re: ntsec environment variable


> 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@cygwin.com Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOuh1EoXnWfGgRqP+EQIFJwCg+klmq1Ia4QcqYUzgCE3uNSMjURAAnAuJ
QyOXRaSECyF+IJaCsvNtL/Ld
=mEeP
-----END PGP SIGNATURE-----



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]