what's up?
My SWAG is that the directory is in a mounted file system with
``noexec'' as a security measure.
EXACTLY.
thanks for Derek Ragona <[EMAIL PROTECTED]> for helping me to
find it :)
___
freebsd-questions@freebsd.org mailing list
http://
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
Check your script then, add:
set -x
near the top and see where it is complaining.
as i don't understand clearly where this set -x should be, i try 2 times:
1)
$ cat 1
#!/usr/local/bin/bash
echo abc
$ set -x
$ ./1
+ ./1
-bash: ./1: /usr/local/bin/bash: bad interpreter: Permission denied
2)
$
At 10:11 AM 1/29/2008, Wojciech Puchar wrote:
Your script likely has as the first line:
#!/usr/local/bin/bash
I would suspect /usr/local/bin is not in the path of the problem accounts or
$ echo $PATH
/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/smietnik/tmp/bin
$ echo $PATH
/bin:/
Your script likely has as the first line:
#!/usr/local/bin/bash
I would suspect /usr/local/bin is not in the path of the problem accounts or
$ echo $PATH
/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/smietnik/tmp/bin
$ echo $PATH
/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/b
what's up?
Now that's some seriously weird shit.
I've been toying around with it for a while, but so far I've been
unable to reproduce the problem.
me too. just SINGLE account. created same way as others.
to make things more fun - it uses /usr/local/bin/bash as default shell
At 05:02 AM 1/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?
Your script likely
Wojciech Puchar wrote:
what's up?
Now that's some seriously weird shit.
I've been toying around with it for a while, but so far I've been
unable to reproduce the problem.
Alphons
--
VISTA - Viruses Intruders Spyware Trojans Adware
___
freebsd-que