Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 09:33:08 -0800
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: MAGIC: /usr/local/bin/bash: bad interpreter: Permission denied
Message-ID:  <20080129173308.GA11004@ayn.mi.celestial.com>
In-Reply-To: <20080129115936.Y2421@wojtek.tensor.gdynia.pl>
References:  <20080129115936.Y2421@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 29, 2008, Wojciech Puchar wrote:
>i've got on one of my servers on just one account
>when trying to run bash script (it is set to executable)
>
>doing
>
>bash ./scriptname
>
>instead of
>
>./scriptname
>
>helps BUT
>
>on other accounts, or root account - it works.
>
>what's up?

My SWAG is that the directory is in a mounted file system with
``noexec'' as a security measure.

Bill
--
INTERNET:   bill@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

We'll show the world we are prosperous, even if we have to go broke to do
it. -- Will Rogers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080129173308.GA11004>