A message for Linux.com registered users: We are in the process of making changes to the Linux forums. From Monday, 8/13/18 at 6:00 PM PT to Tuesday, 8/14/18 at 4:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Tuesday, 8/14/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

January 18, 2011

Cannot run program off usbflash on Ubuntu 10.10


I've never encountered this on any distro before. Ubuntu does not let me run a program off a usbflash drive. For example when I try:


it gives:

bash: ./HelloWorld: Permission denied

and when I try:

sudo ./HelloWorld

it gives:

sudo: ./HelloWorld: command not found

so I try:

sudo chmod 777 HelloWorld

but it shows the permissions as:


The usbflash is formatted as vfat. Is there any execute the progam off the usbflash without having to copy the program to every hard drive and change permissions there then delete it?

Click Here!