FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sun Jun 13, 2021 04:30



Post new topic Reply to topic  [ 11 posts ] 
Error mounting: mount exited with exit code 1: helper failed 
Author Message

Joined: Mon Aug 01, 2011 05:37
Posts: 4
Post Error mounting: mount exited with exit code 1: helper failed
with:
Error opening '/dev/sdc1': Permission denied
Failed to mount '/dev/sdc1': Permission denied
Please check '/dev/sdc1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged
and I can't find anything on this error.
I ran the following and got these results:
Code:
uname -a
Linux Debian 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux
root@Debian:/home/tmick# lsmod | grep fuse
fuse                   44052  1
root@Debian:/home/tmick# ntfs-3g -help

ntfs-3g 2010.3.6 integrated FUSE 27 - Third Generation NTFS Driver
      Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
root@Debian:/home/tmick# mount | grep fuse
fusectl on /sys/fs/fuse/connections type fusectl (rw)

Need help this contains my back up .
Thanks


Mon Aug 01, 2011 05:44
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

Quote:
Error opening '/dev/sdc1': Permission denied
Failed to mount '/dev/sdc1': Permission denied
Please check '/dev/sdc1' and the ntfs-3g binary permissions,
and the mounting user ID

Please post the output of (replace MOUNTPOINT by your actual mount point) :
Code:
ls -l /dev/sdc1 MOUNTPOINT /bin/ntfs-3g

Quote:
More explanation is provided at ntfs-3g.org/support.html#unprivileged

This URL is outdated, see http://www.tuxera.com/community/ntfs-3g-faq/#useroption

Regards

Jean-Pierre


Mon Aug 01, 2011 08:54
Profile

Joined: Mon Aug 01, 2011 05:37
Posts: 4
Post Re: Error mounting: mount exited with exit code 1: helper failed
ok how do I find the mountpoint?


Mon Aug 22, 2011 00:33
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

Quote:
how do I find the mountpoint?

see http://www.linfo.org/mount_point.html

Regards

Jean-Pierre


Mon Aug 22, 2011 14:44
Profile

Joined: Mon Aug 01, 2011 05:37
Posts: 4
Post Re: Error mounting: mount exited with exit code 1: helper failed
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/ddebian-root / ext3 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=IDtw9V-MlDn-VHB9-1V3h-C2ZP-tgj7-crpmwD /boot ext2 defaults 0 2
/dev/mapper/ddebian-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdc1 /media/usb0 auto rw,user,noauto 0 0
root@ddebian:/home/tmick# ls -l /dev/sdc1 /media/usb0 /bin/ntfs-3g
ls: cannot access /bin/ntfs-3g: No such file or directory
brw-rw---- 1 root floppy 8, 33 Aug 21 16:18 /dev/sdc1

/media/usb0:
total 0


Tue Aug 23, 2011 05:47
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

With your device plugged in, and being root, what are the outputs of :
Code:
ls -lH `which ntfs-3g`
mount
ls -ld /media/usb0
ntfs-3g /dev/sdc1  /media/usb0


Regards

Jean-Pierre


Tue Aug 23, 2011 14:27
Profile

Joined: Mon Aug 01, 2011 05:37
Posts: 4
Post Re: Error mounting: mount exited with exit code 1: helper failed
ls -lH 'which ntfs-3g'
ls: cannot access which ntfs-3g: No such file or directory
root@ddebian:/home/tmick# mount
/dev/mapper/ddebian-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
root@ddebian:/home/tmick# ls -ld /media/usb0
drwxr-xr-x 2 root root 4096 Aug 21 00:49 /media/usb0
root@ddebian:/home/tmick# ntfs-3g /dev/sdc1 /media/usb0


Fri Aug 26, 2011 06:14
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

Code:
ls -lH 'which ntfs-3g'

This is not what I asked. Please copy and paste my request.
Code:
root@ddebian:/home/tmick# ls -ld /media/usb0
drwxr-xr-x 2 root root 4096 Aug 21 00:49 /media/usb0

This cannot be accessed by an unprivileged user.
From an older post :
Code:
brw-rw---- 1 root floppy 8, 33 Aug 21 16:18 /dev/sdc1

This cannot either be accessed by an unprivileged user.
This makes at least two conditions (and a possible third one), not matching what is requested in http://www.tuxera.com/community/ntfs-3g-faq/#useroption

Regards

Jean-Pierre


Fri Aug 26, 2011 08:06
Profile

Joined: Mon Jan 09, 2012 21:07
Posts: 7
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

I`ve the same problems so far.

I did all of the following points:
    1. ntfs-3g is compiled with integrated FUSE support 2. the ntfs-3g binary is at least version 1.2506 3. the ntfs-3g binary is set to setuid-root 4. the user has access right to the volume 5. the user has access right to the mount point

The output of ls -l /dev/sdd1 Mountpoint /bin/ntfs-3g is:
-rwxr-xr-x 1 root root 164409 2012-01-08 18:35 /bin/ntfs-3g
brw-rw---- 1 root disk 8, 49 2012-01-09 18:19 /dev/sdd1

What have I todo?


Mon Jan 09, 2012 21:11
Profile

Joined: Fri Jul 06, 2012 20:12
Posts: 1
Post Re: Error mounting: mount exited with exit code 1: helper failed
I have the same message as topicstarter when trying to mount ntfs disk as user from nautilus or just with udisk:

Code:
Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdb5': Permission denied
Failed to mount '/dev/sdb5': Permission denied
Please check '/dev/sdb5' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged


I've compiled ntfs-3g with internal fuse support. Made mountpoint owned by my user. Added my user to disk group to have access to /dev/sdX. After all tis steps i can easily mount disks by "mount" without root privileges, but udisk still cant get acces to a disk device. It only gets mounted when i chown /dev/sdb5 to my user instead of root. But this ownership gets back to root after reboot.
So I'd like to know is it possible to do what i want, or have I to look for another ways to do it?

In addition:

Code:
monte@toshiba-ubuntu:~$ ls -l /dev/sdb5 $(which ntfs-3g)
-rwsr-xr-x 1 root root 501704 Jul  3 19:32 /bin/ntfs-3g
brw-rw-r-- 1 root disk  8, 21 Jul  6 16:42 /dev/sdb5
monte@toshiba-ubuntu:~$ ls -l /media/|grep Downloads
drwxrwxrwx 2 monte monte  4096 Jul  3 22:24 Downloads
monte@toshiba-ubuntu:~$ cat /etc/fstab |grep Downloads
/dev/disk/by-uuid/4E22D0B507B95D64 /media/Downloads ntfs-3g uid=1000,user,umask=000 0 0


Fri Jul 06, 2012 20:38
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Error mounting: mount exited with exit code 1: helper failed
Hi,

Quote:
So I'd like to know is it possible to do what i want, or have I to look for another ways to do it?

I generally just plug in my external disks, and they mount automatically.

Regards

Jean-Pierre


Sat Jul 07, 2012 08:17
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.