delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
MIME-Version: | 1.0 |
Message-ID: | <15966.7361.738874.938704@sunbayer71.informatik.tu-muenchen.de> |
Date: | Thu, 27 Feb 2003 15:12:17 +0100 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin-1.3.20-1 breaks termcaps [actually permissions break them] |
In-Reply-To: | <Pine.LNX.4.44.0302261711040.27160-100000@localhost.localdomain> |
References: | <15964 DOT 49647 DOT 920733 DOT 609291 AT sunbayer71 DOT informatik DOT tu-muenchen DOT de> |
<Pine DOT LNX DOT 4 DOT 44 DOT 0302261711040 DOT 27160-100000 AT localhost DOT localdomain> | |
From: | Robert Fenk <fenk AT in DOT tum DOT de> |
On Wednesday, February 26, 2003 at 17:14:24, Ronald Landheer-Cieslakq wrote: [...] > > Has someone a script to fix the permissions of all standard > > files to a reasonable value instead of +rx for all dirs and > > +r for all files? > $ chmod -R a+r * > ? > > or > $ find -type d -exec chmod go+rx \{\} \; > $ find -type f -exec chmod go+3 \{\} \; > ? That is the way I did it, but IMHO it is the naive way, since not all files should get a+r, e.g. /etc/ssh_host*key should not be readable by all, but just by admins and system ... Certainly there are other files that should be treated similar, at least when we are not willing to run with Windows standard permissions, i.e. full access to any file for everyone. Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |