I have a USB key on which I do all of my programming. It is formatted as an NTFS drive with 32 gigabytes of space.
On this drive I have large C::B projects which contain both windows and linux executables.
When I try to run the linux executables it gives me a permission denied error.
I tried right-clicking on the USB name on the left of the default Ubuntu file viewer and setting 'Allow executing file as program' but it wouldn't hold. Then I tried running
sudo chmod -R a+x media/USBKeyName, it took a few seconds to run, but when I checked the file permissions they had been reset. When I look at the checkbox for 'Allow executing file as program' it is highlighted with a minus sign in it.
How can I set the executable bit on my USB key?