Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: References: <15964 DOT 49647 DOT 920733 DOT 609291 AT sunbayer71 DOT informatik DOT tu-muenchen DOT de> From: Robert Fenk 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/