[maemo-developers] on N900 after gainroot, executing shell script throws permission denied error.
From: koos vriezen koos.vriezen at gmail.comDate: Wed Jul 21 14:50:14 EEST 2010
- Previous message: on N900 after gainroot, executing shell script throws permission denied error.
- Next message: on N900 after gainroot, executing shell script throws permission denied error.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. Br Koos > > On Wed, Jul 21, 2010 at 4:38 PM, Marchant, Jan > <jan.marchant02 at imperial.ac.uk> wrote: >> >> 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-bounces at maemo.org >> [maemo-developers-bounces at maemo.org] On Behalf Of praveen koduru >> [prawin1111 at gmail.com] >> Sent: 21 July 2010 11:57 >> To: Daniil Ivanov >> Cc: maemo-developers at 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.ivanov at gmail.com<mailto:daniil.ivanov at 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 >> <prawin1111 at gmail.com<mailto:prawin1111 at 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 at maemo.org<mailto:maemo-developers at maemo.org> >> > https://lists.maemo.org/mailman/listinfo/maemo-developers >> > >> > >> > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > >
- Previous message: on N900 after gainroot, executing shell script throws permission denied error.
- Next message: on N900 after gainroot, executing shell script throws permission denied error.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]