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 Message-ID: <40ED1B40.5070104@x-ray.at> Date: Thu, 08 Jul 2004 12:00:32 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a2) Gecko/20040629 MIME-Version: 1.0 To: "Harig, Mark" CC: cygwin AT cygwin DOT com Subject: Re: cron_diagnose.sh version 1.6 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Harig, Mark wrote: > Please report the version number that this > script reports so that improvements can be > made to it. v1.6: permission fail for /etc/passwd: for fname in /etc/passwd /etc/group; do /usr/bin/ls -ld $fname | egrep -q '^-r..r..r.. '; if [ $? -ne 0 ]; then echo "The permissions on the file $fname are not correct." echo "Please run 'chmod +r $fname', and run this script again." return 1 fi done I have "-rw-r--r--+" which should be checked. Or is it a new requirement that no extended ACL must be defined? To my knowledge not. So please delete the last space in the regex. Without the space it runs fine. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/