You are not logged in.

#1 2011-03-31 02:10:45

akalore
Member
Registered: 2011-03-31
Posts: 4

[solved] Gnome : mounting NTFS partition as user

Hello. I've just installed Arch on my new laptop, with Win7 pre-installed too. When I want to access a NTFS partition with gnome 'places' menu, it asks me for the root password, and then I can't write/modify any file.

Can anyone help me to fix it ? I'm not sure this is really a gnome related problem, so I do't know what kind of info I can provide to help. I use GDM as a daemon to log in...

here is my fdisk -l if it can help :


$ sudo fdisk -l
Password: 

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb2a35e47

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   976769023   488383488    7  HPFS/NTFS/exFAT

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6da65ae0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   285169663   142583808    7  HPFS/NTFS/exFAT
/dev/sda2       285169664   285560831      195584   83  Linux
/dev/sda3       285562878   976771071   345604097    5  Extended
/dev/sda5       285562880   303138815     8787968   82  Linux swap / Solaris
/dev/sda6       303140864   342200319    19529728   83  Linux
/dev/sda7       342202368   976771071   317284352   83  Linux

sda1 and sdb1 are obviously the two partitions I want to access as normal user. These are both internal drives.

Thanks !

Last edited by akalore (2011-04-01 01:29:44)

Offline

#2 2011-03-31 02:22:56

Beelzebud
Member
From: Illinois, U.S.
Registered: 2010-07-16
Posts: 154

Re: [solved] Gnome : mounting NTFS partition as user

To do this properly you need to add entries in to fstab
https://wiki.archlinux.org/index.php/Fstab
and then set up ntfs-3g
https://wiki.archlinux.org/index.php/NTFS_Write_Support

Offline

#3 2011-03-31 02:50:14

akalore
Member
Registered: 2011-03-31
Posts: 4

Re: [solved] Gnome : mounting NTFS partition as user

Hm whatever option I write in fstab i get this error message :

Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged

here are the 2 lines i have added :

/dev/sdb1   /media/DATA   ntfs-3g  users,noauto       0      0
/dev/sda1   /media/WIN    ntfs-3g  users,noauto       0      0

I looked in repos for a FUSE integrated version of ntfs-3g with no success hmm

Last edited by akalore (2011-03-31 02:51:33)

Offline

#4 2011-03-31 03:30:27

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [solved] Gnome : mounting NTFS partition as user

Offline

#5 2011-04-01 01:29:21

akalore
Member
Registered: 2011-03-31
Posts: 4

Re: [solved] Gnome : mounting NTFS partition as user

Thanks ! it works.

Offline

Board footer

Powered by FluxBB