How to mount disc with exec permissions

Work Around

There is a simple work around, instead of ./script.sh, do

sh script.sh

Or

bash script.sh

You should check the first line of script.sh to confirm which shell to use.

Manual Mount

Mount with command line, you can use the exec option as follow

mount -o exec <device> <mount-point/path>

mount -o exec /dev/cdrom /mnt/cdrom

If the disc is automounted, you will have to un-mount(not eject) it with file manager first.

udisk

This is the complicated way and is answered in this post.