Active Topics

 


Reply
Thread Tools
Posts: 9 | Thanked: 1 time | Joined on Jan 2009
#1
hi all,

I have a simple maemo program which is stored at /home/user/MyDoc/.documents and it runs. I just got a 4GB SD card, and I moved the maemo program to /media/mmc1 but it doesn't run anymore. The program has permission --rw-r--r--, I tried chmod it (chmod u+x program-name) as user and as root, but I can't change the permission.

Does anyone know why and how to fix this? thx.
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#2
This has been answered before. MMC cards are formatted as FAT32, meaning that they are Windows Partitions. Thus, programs cannot be executed from a FAT32 partition. You cannot run programs from FAT32, aside from interpreted ones such as python (i think)/

You can reformat your card to use ext2 or ext3, however I don't know if it will work if you plug it in to a PC anymore. (probably will work on a Linux box, but not Windows)
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 
tobiasj's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#3
I think... though I have not tested it... that if you create a sym link to the exec on a MMC in someplace that is exec (like /usr/games for example) that it will run that way. This might be the only way to make it run form a FAT32 formatted card...


-John
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#4
The problem is not the filesystem of the cards. There is no problem executing programs from vfat or fat32 partitions. The problem is that the partition is mounted with noexec option, as a "security measure".

If you want to change only for now, use a command such as

mount -o remount,exec /media/mmc1

If you want a permanent solution, see here:

http://www.internettablettalk.com/fo...ead.php?t=9777
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:42.