Active Topics

 


Reply
Thread Tools
Posts: 162 | Thanked: 23 times | Joined on Dec 2009
#1
I compiled a file using the scratchbox on the frematle-armel target. And I save it directly to the MyDocs folder of my N900.

When I try to execute it I am not able because it has execution permission. I make "sudo gainroot" and execute "chmod a+x program" but it does not let me to execute it. Pleasee, could someone tell me the reason.

Thanks!
 

The Following User Says Thank You to acano For This Useful Post:
sampppa's Avatar
Posts: 166 | Thanked: 191 times | Joined on Dec 2007 @ Oulu, Finland
#2
You cant run file on MyDocs folder because it is on FAT partition. Copy that binary for example to /opt/ and it should work...
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#3
Originally Posted by acano View Post
I compiled a file using the scratchbox on the frematle-armel target. And I save it directly to the MyDocs folder of my N900.

When I try to execute it I am not able because it has execution permission. I make "sudo gainroot" and execute "chmod a+x program" but it does not let me to execute it. Pleasee, could someone tell me the reason.

Thanks!
UNIX permissions don't do anything on a FAT partition. MyDocs is a FAT partition. Move it up a dir or two and set permissions and +x flg.
 
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#4
It's because your MyDocs is formatted as FAT32. You have to put the file somewhere else, e.g. in /opt/.

EDIT: Ok, you guys beat me to it;-)
 

The Following 2 Users Say Thank You to filologen For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:01.