NTFS-3G user mount

Kernels & Hardware, configuring network, installing services

NTFS-3G user mount

Postby Jerome » 2013-07-13 13:51

Hi.

This has been asked already, but I didn't find any satisfying answer.

I can mount ntfs external drives on my desktop (testing Xfce) but I can't remember what I did for this to work. I installed debian Wheezy (Xfce) on my friend's notebook and I get an error because the user lacks privileges.

Here's the error :
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.


As far as I understand, ntfs-3g is not compiled with integrated FUSE support. I tried the setuid-root method but then I get an explicit error saying that it is unsafe to have setuid-root without FUSE support and ntfs-3g aborts. Besides, on my desktop, where user mounting works, it is not compiled with integrated FUSE support either, and the setuid bit is not set. I must have used another way for it to work.

In both cases, the user belongs to plugdev group.

I don't think it matters, but here's the version on my desktop: ntfs-3g 2013.1.13AR.1 external FUSE 29

on the netbook: ntfs-3g 2012.1.15AR.1 external FUSE 29

There is nothing about this on the debian wiki.

Is there a simple / safe way ?

(I suppose in distros such as Ubuntu or Mint, there has to be a way that does not imply using the command line as root to groupadd, chmod and such. What would be the downside ?)

Thanks for any advice.
Jerome
 
Posts: 53
Joined: 2011-07-18 20:57
Location: France

Postby technofhile » 2013-07-13 16:03

You need to comment the /dev/sdb1 line in /etc/fstab. This will do the job.

Sent from my Nexus 4
HP ENVY 15
•3rd generation Intel(R) Core i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
technofhile
 
Posts: 5
Joined: 2013-05-29 04:07
Location: India

Re: NTFS-3G user mount

Postby Jerome » 2013-07-13 16:10

Thanks ! It worked.

I saw this already, but for some reason I discarded this solution.

What is the rationale behind this ?

Should this be changed in the default fstab ?

Isn't this a bug ? Shouldn't it work out of the box ?

Should I file a bug somewhere ?

Should I at least write something about it in the wiki ?

So many questions...
Jerome
 
Posts: 53
Joined: 2011-07-18 20:57
Location: France

Postby technofhile » 2013-07-13 19:05

I too spent a lot of time for this. Many did not help. They thought i was a noob.
I m not very familiar with Debian process. Its the installer bug. May be a moderator or admin will explain it well . Or the documentation ;)

Sent from my Nexus 4
HP ENVY 15
•3rd generation Intel(R) Core i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
technofhile
 
Posts: 5
Joined: 2013-05-29 04:07
Location: India

Re: NTFS-3G user mount

Postby keithpeter » 2013-08-26 14:49

Thanks to technofhile for the workaround.

I encountered this bug just recently and the edit to fstab worked fine.

I installed wheezy from the released Live XFCE4 CD.

I'm wondering if the appearence of the bug depends on the installation route chosen.
User avatar
keithpeter
 
Posts: 502
Joined: 2009-06-14 08:06
Location: 5230n 0155w

Re: NTFS-3G user mount

Postby PanJan » 2013-11-10 22:09

For anyone having this problem:

First check this out: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631504

If it is to long to read or sounds too complicated, here is my proposition of solution (worked for me):

Comment in your /etc/fstab line mounting usb0
Code: Select all
/dev/sdc1       /media/usb0     auto    rw,user,noauto  0       0

should now look like
Code: Select all
#/dev/sdc1       /media/usb0     auto    rw,user,noauto  0       0

also make sure, that your user is a member of fuse group
Code: Select all
fuse:x:103:yourUserGroupHere


Hope I helped!
PanJan
 
Posts: 1
Joined: 2013-11-10 21:55

Re: NTFS-3G user mount

Postby platan » 2014-01-07 17:33

Hi.
Commenting line:
Code: Select all
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0

helped. Thanks!
platan
 
Posts: 1
Joined: 2014-01-07 17:29

Re: NTFS-3G user mount

Postby jolinar » 2014-02-10 12:26

Upto now the best workaround form NTFS-3g user mount issue is
commenting the /dev/sdb1 line in /etc/fstab. This will do the job.
regards
jolinar
 
Posts: 1
Joined: 2014-02-10 12:22


Return to System configuration

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable