[maemo-developers] on N900 after gainroot, executing shell script throws permission denied error.

From: christoph christoph at kluenter.de
Date: Wed Jul 21 14:07:58 EEST 2010
* Am Mi, Jul 21, 2010 at 04:09:51 +0530 , schrieb praveen koduru:
>    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

This seems to be a problem with the executable permissions.
Have a look at the permissions (type ls -l shellscript.sh )
Is there an x somerwhere in the output ?
(see http://en.wikipedia.org/wiki/File_permission#Symbolic_notation)
If not, try this: "chmod 755 shellscript.sh"
Then you should be able to run the script with ./shellscript.sh


Cheers,
  Christoph


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


-- 
GPG-Key: http://www.kluenter.de/chris.gpg
GPG-Fingerprint: 88DA B106 D973 B2AF 7CCB  725A F76C 803C 758F 71C0
More information about the maemo-developers mailing list