LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   allow executing codes/scripts from flash drive (https://www.linuxquestions.org/questions/linux-newbie-8/allow-executing-codes-scripts-from-flash-drive-940152/)

ReverendDangles 04-16-2012 10:45 PM

allow executing codes/scripts from flash drive
 
hello again,

I am a physics graduate student with a research assistantship
and I am constantly running codes/scripts at work and in class.
The further I get along in grad school and research the more I
will be jumping between computer labs. It would be easier for
me if I were able to just keep all the stuff I need on my flash
drive and execute it from the drive instead of moving it from
comp to comp and then saving back on the flash drive.

How can I allow executing from flash drive?

WorldPeace 04-16-2012 11:57 PM

The best solution is probably as follows:
1. Back up the data
2. Reformat the flash drive in ext4 filesystem (probably by using gparted)

If mounted with appropriate options, the files on the flash drive will keep their permissions across computer labs.
eg. sudo mount -o remount,exec /media/YOURDRIVE

See also:
google: allow executing from flash drive linux|ubuntu
google: executing ntfs linux
(I can't post http links outside this site as this is my 1st post here, Sorry. But the top results shown in the google searchs are quite relavent to the question.)


All times are GMT -5. The time now is 12:09 AM.