[maemo-developers] on N900 after gainroot, executing shell script throws permission denied error.
From: Marius Gedminas marius at pov.ltDate: Wed Jul 21 17:12:06 EEST 2010
- Previous message: on N900 after gainroot, executing shell script throws permission denied error.
- Next message: Ovi Store disk space requirements miscalculations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jul 21, 2010 at 01:50:14PM +0200, koos vriezen wrote: > 2010/7/21 praveen koduru <prawin1111 at 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: Digital signature URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100721/026cdbe3/attachment.pgp>
- Previous message: on N900 after gainroot, executing shell script throws permission denied error.
- Next message: Ovi Store disk space requirements miscalculations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]