On Thursday 08 August 2013 04:25 AM, Steve Thomas wrote:
| # Global mount options ACTION=="add", ENV{mount_options}="relatime,sync" # Filesystem-specific mount options ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,uid=1000,gid=1000,umask=002"|
You need the 'exec' option to allow Ubuntu to run programs off a mounted volume. E.g, 'uid=1000,gid=1000,exec'. This is not very safe so please use it with caution. See the man page for 'mount' command for more details.
There is also a simple way to launch programs off a flash drive. Add the following file (with exec permissions) to the Desktop (modify the /media/... path suitably) for launching etoys off the flash drive :
-------- #!/bin/sh sh /media/*/*/Etoys/etoys.sh --------
Please don't turn on the "boot" flag on flash drives. These drives often pick up boot viruses from other computers. If the machine is booted with an infected flash drive plugged in, boot viruses can take over this host too.
Regards .. Subbu