delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/20/10:52:13

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
Message-ID: <3B58472C.DAA05B4@acris.co.uk>
Date: Fri, 20 Jul 2001 15:58:52 +0100
From: Julian Hall <jules AT acris DOT co DOT uk>
X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Devin McRorie <Devin_McRorie AT ingersoll-rand DOT com>
CC: Cygwin Maillist <cygwin AT cygwin DOT com>
Subject: Re: cron ignores my settings

> I've even tried
> setting the runmc script with chmod +x which doesn't seem to do
anything as
> ls still shows it has no execute privilege.   Please note that the
runmc
> script does execute and work properly when I call it manually!

ls should show it with execute privelege if it is an executable file
(either a PE file, or one that starts #!).  Note that BASH can execute
files that are not actually valid shell scripts by making the assumption
that they are intended to be executed by bash, even when they don't have
an inital #!... line, so it would be advisable to check that this line
is indeed present as it sounds to me as though it isn't.

Hope this helps!

Jules



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019