Real Software Forums
http://forums.realsoftware.com/

Run Linux RS file as executable from USB stick
http://forums.realsoftware.com/viewtopic.php?f=8&t=45478
Page 1 of 1

Author:  grechcj [ Sat Sep 29, 2012 10:31 pm ]
Post subject:  Run Linux RS file as executable from USB stick

I like the way RS makes portable output for Windows and Mac but I can't get it to work in Linux.
The OS (Ubuntu) won't give permission for an executable to run from an external drive.
I've found a solution (below) but it's complicated and I really want the end user to be able to insert the stick and run the program on any Linux system. I am dreaming?

Quote:
http://askubuntu.com/questions/23108/tr ... esnt-stick

You basically can define permissions when mounting the device. In your case, you would do something like:

sudo mount -t vfat -o rw,user,umask=000 /path/to/device /path/to/mount/dir

For a permanent change, you can add this to your /etc/fstab:
Find the UUID (Universally Unique Identifier) of your device using sudo blkid.
Add the mount line to /etc/fstab:

UUID=your-uuid /path/to/mount/dir vfat rw,auto,user,umask=000 0 0

Author:  simulanics [ Sun Sep 30, 2012 12:01 am ]
Post subject:  Re: Run Linux RS file as executable from USB stick

What Linux port are you using?

Author:  charonn0 [ Sun Sep 30, 2012 12:10 am ]
Post subject:  Re: Run Linux RS file as executable from USB stick

Check the mount options for the drive. If noexec is specified or if user is specified without exec, then no binaries on the drive will be permitted to execute.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/