Bug 26091 - DeviceKit mounts NTFS partitions with 'default_permissions', breaking Samba sharing
Summary: DeviceKit mounts NTFS partitions with 'default_permissions', breaking Samba s...
Status: RESOLVED NOTOURBUG
Alias: None
Product: udisks
Classification: Unclassified
Component: operations (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 04:54 UTC by Sense Hofstede
Modified: 2012-09-28 14:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
/etc/mtab of the original reporter (1.01 KB, application/octet-stream)
2010-01-18 04:55 UTC, Sense Hofstede
Details

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.