** Also affects: udisks via
   https://bugs.freedesktop.org/show_bug.cgi?id=33461
   Importance: Unknown
       Status: Unknown

-- 
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 abstraction for enumerating and managing block devices:
  Unknown
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

Reply via email to