> why it defaults to execute on when the in kernel driver does not.

Well, most users do not define the mapping of their user ids to Windows
ids, so the permissions cannot be stored to the device, and the
permissions have to be the same for all files and all users. If the
default was no-execute, they could not execute any file, even by
tweaking the umask. Ntfs-3g only uses metadata defined for Windows, and
does not store any extra metadata which would be useful for Posix usage.

Users who need standard Linux per file and per user ownership and
permissions may define their user mapping.

-- 
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/1728467

Title:
  All files on ntfs partitions are marked executable

Status in ntfs-3g package in Ubuntu:
  New
Status in udisks2 package in Ubuntu:
  Invalid

Bug description:
  This did not happen in 14.04 but somewhere since then udisks2 sets any & all 
files on ntfs partitions as executable.
  Additionally if file is copied over to user's ext4 partion the bit remains 
set.
  Can't see why this would be intentional??

  In 14.04 udisks2 - 
  :static const gchar *ntfs_defaults[] = { "uid=", "gid=", "dmask=0077", 
"fmask=0177", NULL };

  In 16.04, 17.04, 17.10,18.04 udisks2 - 
  :static const gchar *ntfs_defaults[] = { "uid=", "gid=", NULL };

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: udisks2 2.1.7-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-16.19~16.04.3-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: Unity
  CustomUdevRuleFiles: 70-snap.core.rules
  Date: Sun Oct 29 21:20:19 2017
  InstallationDate: Installed on 2017-09-16 (43 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  MachineType: LENOVO 20217
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic 
root=UUID=b5ef3f68-8479-4c90-8c07-7fc4c165c5e9 ro quiet splash vt.handoff=7
  SourcePackage: udisks2
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/18/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 74CN44WW(V3.05)
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: VIQY0Y1
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058STD
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo IdeaPad Y510P
  dmi.modalias: 
dmi:bvnLENOVO:bvr74CN44WW(V3.05):bd09/18/2013:svnLENOVO:pn20217:pvrLenovoIdeaPadY510P:rvnLENOVO:rnVIQY0Y1:rvr31900058STD:cvnLENOVO:ct10:cvrLenovoIdeaPadY510P:
  dmi.product.family: IDEAPAD
  dmi.product.name: 20217
  dmi.product.version: Lenovo IdeaPad Y510P
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1728467/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to