! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
NTFS removable drive automounts with wrong permission
Status:
RESOLVED: DUPLICATE

Comments

Description Debjit 2009-08-17 09:08:57 CEST
When a USB drive with NTFS partition is inserted the partition is automounted but only with root permissions (read only), other users cannot even read the partition. I had to add an entry to fstab to mount it with proper permissions.

The following change enabled me to solve this problem (without changes in fstab required):

--- exo-mount/exo-mount-hal.c	Mon Aug 17 13:57:03 2009
+++ exo-mount/exo-mount-hal-wc.c	Mon Aug 17 14:32:31 2009
@@ -665,6 +665,7 @@
               && (strcmp (device->fstype, "vfat") == 0
                || strcmp (device->fstype, "iso9660") == 0
                || strcmp (device->fstype, "udf") == 0
+		|| strcmp (device->fstype, "ntfs") == 0
                || device->volume == NULL))
             {
               options[n++] = g_strdup_printf ("uid=%u", (guint) getuid ());

But without ntfs-3g I cannot mount the partition as read/write.

exo version: 0.3.101
OS: Gentoo Linux
Comment 1 Nick Schermer editbugs 2009-10-08 16:22:46 CEST
Could you try attachment #2591  in bug #4532?

*** This bug has been marked as a duplicate of bug 4532 ***

Bug #5679

Reported by:
Debjit
Reported on: 2009-08-17
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information