On Wed, Jul 21, 2010 at 01:50:14PM +0200, koos vriezen wrote:
> 2010/7/21 praveen koduru <prawin1...@gmail.com>:
> > Yes it has executable permissions
> > but not able to execute the shell script.
> 
> First line of shell script? Which should look like
> 
> #!/bin/sh
> 
> Note that your script must be in UNIX text format (i.e. only a newline
> and not carriage-return+newline like DOS/Windows text files have)
> 
> Could be the filesystem too, eg. /home/user/MyDocs is on my device
> mounted with the noexec option.

This would be my guess.

I keep my shell scripts in /home/user/bin, and I've added that directory
to the $PATH by putting

  export PATH=/home/user/bin:$PATH:/sbin:/usr/sbin

in /home/user/.profile

Marius Gedminas
-- 
If it weren't for the last minute, nothing would get done.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to