Silly answer - are you sure you have execute permissions set?

See for example http://www.dartmouth.edu/~rc/help/faq/permissions.html

Cheers,
Jan

________________________________________
From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] 
On Behalf Of praveen koduru [prawin1...@gmail.com]
Sent: 21 July 2010 11:57
To: Daniil Ivanov
Cc: maemo-developers@maemo.org
Subject: Re: on N900 after gainroot, executing shell script throws permission   
denied error.

I have used both the ways Daniil, but no use..

I mean "sh shellscript.sh" works fine,, but ./shellscript.sh doesnt work

I have even tried
1. /bin/sh
2. ./shellscript.sh

also,
1.bash
2. ./shellscript.sh

but same error "permission denied"

On Wed, Jul 21, 2010 at 4:13 PM, Daniil Ivanov 
<daniil.iva...@gmail.com<mailto:daniil.iva...@gmail.com>> wrote:
Hi Praveen!

Use
sh shellscript.sh or ./shellscript.sh

Thanks, Daniil.

On Wed, Jul 21, 2010 at 1:39 PM, praveen koduru 
<prawin1...@gmail.com<mailto:prawin1...@gmail.com>> wrote:
> Hi,
> on N900 after gainroot, executing shell script throws permission denied
> error.
> But the same shell script runs fine when I ran with /bin/sh shellscript.sh
> Any body can help me to resolve this
> -PK
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org<mailto:maemo-developers@maemo.org>
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to