I have an executable on my usb drive. I
cd to the directory,
permission denied. So I did
chmod u+x app. Then,
./app. But still,
Then I read something here:
That command [chmod] only changes the permissions associated with the file; it does not change the security controls associated with the entire volume. If it is security controls on the volume that are interfering with execution (for example, a noexec option may be specified for a volume in the Unix fstab file, which says not to allow execute permission for files on the volume), then you can remount the volume with options to allow execution. However, copying the file to a local volume may be a quicker and easier solution.
How would I make a program run off of a USB drive, with or without the above mentioned solution?