Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

NTFS-3G user mount

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

NTFS-3G user mount

#1 Post by Jerome »

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.

technofhile
Posts: 5
Joined: 2013-05-29 04:07
Location: India

#2 Post by technofhile »

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)

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: NTFS-3G user mount

#3 Post by Jerome »

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...

technofhile
Posts: 5
Joined: 2013-05-29 04:07
Location: India

#4 Post by technofhile »

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)

User avatar
keithpeter
Posts: 502
Joined: 2009-06-14 08:06
Location: 5230n 0155w

Re: NTFS-3G user mount

#5 Post by keithpeter »

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.

PanJan
Posts: 1
Joined: 2013-11-10 21:55

Re: NTFS-3G user mount

#6 Post by PanJan »

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!

platan
Posts: 1
Joined: 2014-01-07 17:29

Re: NTFS-3G user mount

#7 Post by platan »

Hi.
Commenting line:

Code: Select all

/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0
helped. Thanks!

jolinar
Posts: 1
Joined: 2014-02-10 12:22

Re: NTFS-3G user mount

#8 Post by jolinar »

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

Post Reply