Bug 26091

Summary: DeviceKit mounts NTFS partitions with 'default_permissions', breaking Samba sharing
Product: udisks Reporter: Sense Hofstede <sense>
Component: operationsAssignee: Richard Hughes <richard>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: /etc/mtab of the original reporter

Description Sense Hofstede 2010-01-18 04:54:28 UTC
When mounting an NTFS (All FUSE devices affected?) device with DeviceKit it is mounted with the 'default_permissions' option. This limits access to the mounting user (and root) and breaks Samba sharing, because the client doesn't have the permissions to read the files in the directory.

This option is set when using 'devkit-disks --mount' and when using DeviceKit-disks from Nautilus.

Attached is the '/etc/mtab' file of the original reporter. The last entry was the device mounted by DeviceKit-disks, the entries above this last entry were mounted with the 'mount' command to illustrate the difference -- those two devices can be properly shared with Samba.

This bug was originally reported by JeongHo Park on Launchpad in Ubuntu at <https://launchpad.net/bugs/482641>.


Documentation of the 'default_permissions' option, and others: <http://www.mjmwired.net/kernel/Documentation/filesystems/fuse.txt>.
Comment 1 Sense Hofstede 2010-01-18 04:55:07 UTC
Created attachment 32690 [details]
/etc/mtab of the original reporter
Comment 2 David Zeuthen (not reading bugmail) 2012-09-28 14:58:24 UTC
udisks is not setting the default_permissions option. I think this is a problem with ntfs-3g or whatever ntfs filesystem driver you are using.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.