[Bug 1728467] Re: All files on ntfs partitions are marked executable

2018-05-08 Thread Doug McMahon
Not sure what the heck you all are recently taking about.

Most linux users of a ntfs partition are using to store files for use on any Os 
or store files without any permission nonsense.
Those that actually place .exe files & want to then execute them from an Ubuntu 
session would likely be using something like wine.
In that case the .exe does not need to be "executable" to be run.

The prior settings for ntfs defaults was best for the vast majority of
users, period.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2018-05-08 Thread Jean-Pierre
> 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2018-05-08 Thread Phillip Susi
Udisks specifying a default mask was removed intentionally, leaving the
default to the NTFS driver.  ntfs-3g defaults to all executable.  People
often do have executable files on their NTFS drives and want to be able
to execute them.  This has gone back and forth a few times over the
years and without the execute bit, less experienced users are unable to
make things work and don't understand why.  With the bit, more
experienced users are... well, let's just say offended.  I think we're
better off where we are, but maybe the ntfs-3g devs can chime in on why
it defaults to execute on when the in kernel driver does not.  My guess
is that it is intentional but we'll see.


** Changed in: udisks2 (Ubuntu)
   Status: Confirmed => Invalid

** Also affects: ntfs-3g (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2018-02-21 Thread Sebastien Bacher
Could somebody report that issue upstream on https://github.com
/storaged-project/udisks/issues ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2018-02-20 Thread Doug McMahon
** Tags removed: zesty
** Tags added: bionic

** Tags removed: bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-12-25 Thread Matt Lu
Thank you very much for your offer, but I have messed up my system
trying to fix that and at this point I don't want to complicate matters
further (17.10 is quite buggy for me).

Would it be possible to submit your patch for official inclusion?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-12-24 Thread Doug McMahon
@ Matt - 
here for my personal builds (16.04/18.04) i've altered source in this manner & 
it does what's best for me - 
-static const gchar *ntfs_defaults[] = { "uid=", "gid=", NULL };
+static const gchar *ntfs_defaults[] = { "uid=", "gid=", "fmask=0111", NULL };

If you'd like to try such builds use launchpad email & i'll point to pa's where 
they are.
(- those particular ppa's are not for general use but one could dl & use any 
particular package source.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-12-22 Thread Matt Lu
In ubuntu 16.10/17.04/17.10, handling of ntfs drives has changed compared to 
14.04.5.
Now, all files on an ntfs drive are marked as executable.

This is bad for several reasons:
- it just does not make any sense, data files are not executable, windows 
executables are usually not executable on linux
- if there is a linux executable on the ntfs drive, security procedure on ext 
would be having to explicitly set the execute bit, why should it be "less" 
secure if the file resides on a different drive.
- links (on ext, e.g. Desktop) to files residing on the ntfs drives are also 
marked executable. Error message: "The link ... is broken. Move it to Trash? 
This link cannot be used because its target ... doesn't exist." I first have to 
remove the execute bit from each and every link (which reapears instantly), 
only then they will be usable. All those links are invalid again after every 
reboot.
Interestingly, if I remove the execute bit from a link AND open it using 
OpenWith... (not the standard application to open it) then ALL links to ntfs 
files become usable all of a sudden.
- if I download a file to an ntfs drive and then try to open it using firefox 
download menu, I get a warning "Open executable file? ... is an executable 
file. Executable files can contain viruses or other malicious code that could 
harm your computer. Are you sure you want to execute ... ?" . This gives the 
false impression of a security risk!

Please consider fixing this, if necessary by correcting the patch from
https://bugs.launchpad.net/gvfs/+bug/453605

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-12-22 Thread Matt Lu
Please understand that this is severely affecting basic ubuntu use with ntfs 
drives for basic users, while bug #453605 that is said to be the reason of the 
misbehaviour has merely given more options to advanced users and was not 
intended to mess up file handling in the way it presumably did.
If it's goal "easy way to configure the default umask for VFAT/NTFS" has been 
reached, it should also be easy to set sane defaults for users that can't (nor 
should be required to) do it for themselves.

** Changed in: udisks2 (Ubuntu)
   Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-11-30 Thread Doug McMahon
If the intention of the changes was to make all files executable then
that was a poor decision (it does not appear that was the focus of the
whatsoever...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-11-30 Thread Phillip Susi
The change was intentional.  See bug #453605.


** Changed in: udisks2 (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-11-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: udisks2 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1728467] Re: All files on ntfs partitions are marked executable

2017-10-29 Thread Doug McMahon
** Tags removed: bionic
** Tags added: bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728467

Title:
  All files on ntfs partitions are marked executable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs