Linux.com

PartialPenguin

PartialPenguin

  • Linux.com Member
  • Posts: 1
  • Member Since: 17 Jan 11
  • Last Logged In: 19 Jan 11

Latest Posts

Posted by
Topic
Post Preview
Posted
  • PartialPenguin
    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: ./HelloWorld 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: -rw-r--r-- 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?
    Link to this post 18 Jan 11

    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:

    ./HelloWorld

    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:

    -rw-r--r--

    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?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board