Re: binary file not running

2011-08-11 Thread Jatin K
On Thursday 11 August 2011 08:38 PM, Patrick O'Callaghan wrote: > On Thu, 2011-08-11 at 18:06 +0530, Jatin K wrote: >> On Thursday 11 August 2011 05:56 PM, Patrick O'Callaghan wrote: >>> On Thu, 2011-08-11 at 10:21 +0530, Jatin K wrote: you should do chmod +x a.out or run it like sh a.out

Re: binary file not running

2011-08-11 Thread Patrick O'Callaghan
On Thu, 2011-08-11 at 11:05 -0700, Joe Zeff wrote: > On 08/11/2011 10:39 AM, Frank Cox wrote: > > On Thu, 11 Aug 2011 10:38:07 -0430 > > Patrick O'Callaghan wrote: > > > >> Besides which, a shell script named "a.out" would arouse my suspicions. > >> Although not illegal, I would regard it as an att

Re: binary file not running

2011-08-11 Thread Joe Zeff
On 08/11/2011 10:39 AM, Frank Cox wrote: > On Thu, 11 Aug 2011 10:38:07 -0430 > Patrick O'Callaghan wrote: > >> Besides which, a shell script named "a.out" would arouse my suspicions. >> Although not illegal, I would regard it as an attempted Trojan. > > a.out is the default name of the executable

Re: binary file not running

2011-08-11 Thread Frank Cox
On Thu, 11 Aug 2011 10:38:07 -0430 Patrick O'Callaghan wrote: > Besides which, a shell script named "a.out" would arouse my suspicions. > Although not illegal, I would regard it as an attempted Trojan. a.out is the default name of the executable file that's created by C compilers on Unix systems

Re: binary file not running

2011-08-11 Thread Patrick O'Callaghan
On Thu, 2011-08-11 at 18:06 +0530, Jatin K wrote: > On Thursday 11 August 2011 05:56 PM, Patrick O'Callaghan wrote: > > On Thu, 2011-08-11 at 10:21 +0530, Jatin K wrote: > >> you should do chmod +x a.out or run it like sh a.out > > "sh a.out" isn't going to do anything unless a.out is a Shell s

Re: binary file not running

2011-08-11 Thread Jatin K
On Thursday 11 August 2011 05:56 PM, Patrick O'Callaghan wrote: > On Thu, 2011-08-11 at 10:21 +0530, Jatin K wrote: >> you should do chmod +x a.out or run it like sh a.out > "sh a.out" isn't going to do anything unless a.out is a Shell script. > > poc > I assumed it is shell script. so --

Re: binary file not running

2011-08-11 Thread Patrick O'Callaghan
On Thu, 2011-08-11 at 10:21 +0530, Jatin K wrote: > you should do chmod +x a.out or run it like sh a.out "sh a.out" isn't going to do anything unless a.out is a Shell script. poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin

Re: binary file not running

2011-08-11 Thread Ian Malone
On 11 August 2011 10:13, Markku Kolkka wrote: > shailesh kirjoitti viestissään (lähetysaika torstai, 11. elokuuta > 2011): >> [tommy@tommy cprog]$ gcc hello.c >> [tommy@tommy cprog]$ ./a.out >> bash:  ./a.out : Permission denied > > Is your "cprog" directory on an USB stick, external hard drive, >

Re: binary file not running

2011-08-11 Thread Markku Kolkka
shailesh kirjoitti viestissään (lähetysaika torstai, 11. elokuuta 2011): > [tommy@tommy cprog]$ gcc hello.c > [tommy@tommy cprog]$ ./a.out > bash:  ./a.out : Permission denied Is your "cprog" directory on an USB stick, external hard drive, or some other media other than regular Linux filesystem

Re: binary file not running

2011-08-10 Thread Paul Allen Newell
On 8/10/2011 10:06 PM, Joe Zeff wrote: > On 08/10/2011 08:57 PM, shailesh wrote: >> #include >> int main() >> { >> printf("hello"); >> return 0; >> } >> >> >> [tommy@tommy cprog]$ gcc hello.c > chmod o+x a.out >> [tommy@tommy cprog]$ ./a.out >> bash:./a.out : Permission denied On F14 x86-64 (more i

Re: binary file not running

2011-08-10 Thread Joe Zeff
On 08/10/2011 08:57 PM, shailesh wrote: > #include > int main() > { > printf("hello"); > return 0; > } > > > [tommy@tommy cprog]$ gcc hello.c chmod o+x a.out > [tommy@tommy cprog]$ ./a.out > bash:./a.out : Permission denied -- users mailing list users@lists.fedoraproject.org To unsubscribe or cha

Re: binary file not running

2011-08-10 Thread Jatin K
On Thursday 11 August 2011 09:27 AM, shailesh wrote: #include int main() { printf("hello"); return 0; } [tommy@tommy cprog]$ gcc hello.c [tommy@tommy cprog]$ ./a.out bash: ./a.out : Permission denied

Re: binary file not running

2011-08-10 Thread Andras Simon
2011/8/11, shailesh : [...] > [tommy@tommy cprog]$ gcc hello.c > [tommy@tommy cprog]$ ./a.out > bash:  ./a.out : Permission denied chmod u+x a.out before trying to run it. Andras -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fe

binary file not running

2011-08-10 Thread shailesh
#include int main() { printf("hello");  return 0; } [tommy@tommy cprog]$ gcc hello.c [tommy@tommy cprog]$ ./a.out bash:  ./a.out : Permission denied-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/