MAGIC: /usr/local/bin/bash: bad interpreter: Permission denied
Bill Campbell
freebsd at celestial.com
Tue Jan 29 09:28:12 PST 2008
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 at 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
More information about the freebsd-questions
mailing list