Can't execute programs on vfat formatted USB stick

Bug #1071869 reported by Magnentius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using Lubuntu 12.10. I have a USB stick with just vfat formatting on which are several odt files and also some of my own binary executables which I compiled from my own CPP files.

When I want to start these executables in the terminal however, I see "access denied".

Code:

magnentius@magnentius-pc:/media/magnentius/KINGSTON/cpp$ ./cpprog
bash: ./cpprog: Access denied

I understand why this happens of course, because vfat can't log the executable permission (chmod +x). It shouldn't happen however, because one should be able to run an executable from an USB stick, and in Ubuntu this was always possible. It isn't in Lubuntu however.

Why I get "bash" in the error message is a mystery to me as well, because it is a binary program, not a script.

I've also posted this to http://ubuntuforums.org/showthread.php?t=2075851&highlight=magnentius, but no answers. This bug could be related to https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/663815, but I'm not sure since I run Lubuntu 12.10 and that bug is about Ubuntu 10.10.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

contrary to your claim the exectuable bit has been turned off pretty much from the start of Ubuntu. Have a look at bug 14335.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.