View Single Post
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#8
Originally Posted by cmdowns View Post
/media/mmc1 # ./helloworld.py
/bin/sh: ./helloworld.py: Permission denied

Can anyone spot my error?
you've been trying to set exec on a file on mmc1 which wont work cause the filesystem is fat32

- try python helloworld.py
- or move py file to home directory, chmod there and run there

you could also format the mmc to filesystem that supports permissions like ext2 or try mounting mmc1 without the noexec option in /etc/fstab but not really worth it for py files which are interpreted anyways
 

The Following 3 Users Say Thank You to pipeline For This Useful Post: