Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun May 28, 2017 11:43 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Run Linux RS file as executable from USB stick
PostPosted: Sat Sep 29, 2012 10:31 pm 
Offline

Joined: Sun Feb 14, 2010 11:19 pm
Posts: 213
Location: Australia
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


Top
 Profile  
 
 Post subject: Re: Run Linux RS file as executable from USB stick
PostPosted: Sun Sep 30, 2012 12:01 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
What Linux port are you using?

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
 
 Post subject: Re: Run Linux RS file as executable from USB stick
PostPosted: Sun Sep 30, 2012 12:10 am 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
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.

_________________
Boredom Software


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group