** Description changed:
- 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.
+ 1. Description of the problem:
+
+ Currently NTFS formated USB flash drives do not have the exec bit for
+ {exe,com,bat}. Use of NTFS makes more sense for some users , as pen
+ drives tend to have larger capacities than earlier .
+
+ "vfat" support 'showexec' mount option, which is currently not
+ implemented on ntfs-3g.
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?
+ 2. 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.
+ 3. 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
+ 4. Additional info:
+
+ * ntfs-3g allows for exec mount option, which enables execute bit for all
files.
+ * We would also need to enable "showexec" bit in udisk for ntfs, or allow for
https://bugs.freedesktop.org/show_bug.cgi?id=33461
** Tags added: saucy
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1153781
Title:
Can not run .exe .com and .bat from NTFS formated USB flash drive
Status in NTFS-3G:
New
Status in “udisks2” package in Ubuntu:
Triaged
Bug description:
1. Description of the problem:
Currently NTFS formated USB flash drives do not have the exec bit for
{exe,com,bat}. Use of NTFS makes more sense for some users , as pen
drives tend to have larger capacities than earlier .
"vfat" support 'showexec' mount option, which is currently not
implemented on ntfs-3g.
The use case is necessary when we have applications that are multi
platform.
2. 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
3. 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/
4. Additional info:
* ntfs-3g allows for exec mount option, which enables execute bit for all
files.
* We would also need to enable "showexec" bit in udisk for ntfs, or allow for
https://bugs.freedesktop.org/show_bug.cgi?id=33461
To manage notifications about this bug go to:
https://bugs.launchpad.net/ntfs-3g/+bug/1153781/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp