From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 19:45:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34CF316A41F for ; Mon, 9 Jan 2006 19:45:35 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc1-cmbg1-3-0-cust61.cmbg.cable.ntl.com [62.253.132.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 823DF43D45 for ; Mon, 9 Jan 2006 19:45:34 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.60 #0) id 1Ew2xO-000DjI-0L by authid for ; Mon, 09 Jan 2006 19:45:30 +0000 Date: Mon, 9 Jan 2006 19:45:29 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20060109194529.GA25909@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <001201c61476$3c038d40$6401a8c0@moreprivate> <0E48B181-7B8D-4935-9FFE-7878F0BDF7CE@submonkey.net> <005f01c6147e$e5a88820$6401a8c0@moreprivate> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <005f01c6147e$e5a88820$6401a8c0@moreprivate> User-Agent: Mutt/1.4.2.1i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: danielby@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: premission denied executing a script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 19:45:35 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 08, 2006 at 01:11:07PM -0500, RJ wrote: > Thanks Ceri but, it didn't solve my problem. > The script starts with "#!/usr/src/bin/sh" and I've tried changing it to > "#!/bin/sh" (no quotes). The end result is still permission denied. >=20 > Does the system log what the script is trying to do? I can't find anythi= ng > so far. Well, that depends on whether or not the author included logging functionality - without seeing the script, it's hard to tell... How about trying to run the script with xtrace turned on? # sh -x /the/script It causes each command to be echoed to STDERR as it executes, and may help you home in on the problem. HTH Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDwr1ZhvzwOpChvo8RAo2LAKCmpdef8ueVNP3z62Tw9vglYfdVmgCg5PN8 nC96EfZOe1iyaT7lvHoRCWw= =/gOZ -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--