Comment 0 for bug 1153781

Revision history for this message
Leonardo Borda (lborda) wrote :

1. Description of the problem:
Currently NTFS formated USB flash drives do not have the exec bit for .exe, .com, and .bat.
Using vfat we do have this feature thanks to 'showexec' although it's not an option since usb sticks are getting bigger and bigger therefor the use of NTFS makes more sense for some users.

The use case is necessary when we have applications that are multi platform.

PS: There is already an on-going discussion for having the 'showexec' also added to NTFS.
https://bugs.freedesktop.org/show_bug.cgi?id=28075

2. Ubuntu release, software version, Release Number and Architecture of the selected components.
Ubuntu 12.04.2 LTS

3. How reproducible is the problem?
Always. Format a usb key with NTFS and copy some .exe files. Insert it to the usb port and let Nautilus open it.
Files won't have the +x bit enabled.

drwxr-x---+ 4 root root 4096 Mar 11 16:11 ..
-rw------- 1 user1 user1 29 Mar 8 14:20 aaa.exe

4. Workaround
You can umout and mount manually with the following command. But it defeats the purpose of having proper permissions from the start.

sudo mount -t auto /dev/sda1 /media/lborda/

Leo