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: [email protected] [[email protected]] 
On Behalf Of praveen koduru [[email protected]]
Sent: 21 July 2010 11:57
To: Daniil Ivanov
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> wrote:
Hi Praveen!

Use
sh shellscript.sh or ./shellscript.sh

Thanks, Daniil.

On Wed, Jul 21, 2010 at 1:39 PM, praveen koduru 
<[email protected]<mailto:[email protected]>> 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
> [email protected]<mailto:[email protected]>
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>

_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to