Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Cannot mount external hdd, no privileges

  1. #1
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Cannot mount external hdd, no privileges

    Hello all.

    After spending all afternoon reading threads about this and not finding a solution that worked for me, I decided to post a threat on this again:

    I have an external hdd formatted as NTFS that I want to mount at a fixed mount point named "A-Data" in /media.
    So I created a mount point for it and added an entry in fstab as follows:

    Code:
    UUID=3C607E73607E342C   /media/A-Data 		ntfs  	defaults,noauto,nls=utf8,umask=0222,user,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    However, I cannot mount it.

    I get this error message:

    Code:
    An error occurred while accessing 'Yoram-A-Data', the system responded: A operação pedida foi mal-sucedida.: 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://tuxera.com/community/ntfs-3g-faq/#unprivileged
    Any help would be appreciated.

    The whole fstab looks like this:

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc	/proc	proc	nodev,noexec,nosuid	0	0
    #Entry for /dev/sdb5 :
    UUID=f5c2fda7-0eeb-4890-bd17-e8f59cc7602b	/	ext4	errors=remount-ro	0	1
    #Entry for /dev/sdb1 :
    UUID=71135240-e9ac-4277-bccc-da52109b9943	/boot	ext4	defaults	0	2
    #Entry for /dev/sdb6 :
    UUID=22d2b552-cfc9-4e41-b6de-172b694ace2c	/home	ext4	defaults	0	2
    #Entry for /dev/sda5 :
    UUID=79728FFDFDD66EC6	/media/ARQUIVOS	ntfs	defaults,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    #Entry for /dev/sdd5 :
    UUID=11FC2C34D54F2529	/media/JOGOS	ntfs	defaults,noauto,nls=utf8,umask=0222	0	0
    #Entry for /dev/sda1 :
    UUID=61A60666D74790D6	/media/MULTIMEDIA	ntfs	defaults,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    #Entry for /dev/sdd1 :
    UUID=120B4E126D0CC231	/media/PROGRAMAS	ntfs	defaults,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    #Entry for /dev/sdb7 :
    UUID=CA1480BC1480AD4F	/media/TRABALHANDO	ntfs	defaults,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    #Entry for /dev/sdb2 :
    UUID=D208D12E08D11279	/media/WINDOWS_XP	ntfs	defaults,noauto,nls=utf8,umask=0222	0	0
    #Entry for /dev/sdd1:
    UUID=3C607E73607E342C   /media/A-Data 		ntfs  	defaults,noauto,nls=utf8,umask=0222,user,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    #Entry for /dev/sdd6 :
    UUID=f06adac3-0f96-4d5f-b58b-ad74625d29f9	none	swap	sw	0	0
    /dev/fd0	/media/floppy0	auto	rw,user,noauto,exec,utf8	0	0
    The other partitions are mounted just fine.

    Thank you
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot mount external hdd, no privileges

    I do not think you can have both umask and fmask & dmask as the umask will conflict with the other two.
    fmask and dmask Like umask but defining file and directory respectively individually.



    From user Morbuis1
    http://ubuntuforums.org/showthread.php?p=12181259
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cannot mount external hdd, no privileges

    Quote Originally Posted by oldfred View Post
    I do not think you can have both umask and fmask & dmask as the umask will conflict with the other two.
    fmask and dmask Like umask but defining file and directory respectively individually.



    From user Morbuis1
    http://ubuntuforums.org/showthread.php?p=12181259
    Thanks oldfred,

    I have removed the umask option, but nothing has changed.
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot mount external hdd, no privileges

    I do not know details of mount commands well enough, but do not see anything else.
    Does that NTFS partition need chkdsk?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cannot mount external hdd, no privileges

    Quote Originally Posted by oldfred View Post
    I do not know details of mount commands well enough, but do not see anything else.
    Does that NTFS partition need chkdsk?
    Not sure what you mean with that, but I know the disk is fine as if I comment the line concerning that hdd, it mounts fine.
    But I want it to have a fixed mount point.
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot mount external hdd, no privileges

    Better info here on settings:
    From user Morbuis1
    http://ubuntuforums.org/showthread.php?p=12181259
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cannot mount external hdd, no privileges

    Quote Originally Posted by oldfred View Post
    Better info here on settings:
    From user Morbuis1
    http://ubuntuforums.org/showthread.php?p=12181259
    I changed the dmask and fmask to those values (dmask=775,fmask=664 and dmask=002,fmask=113) as I was confused about which I was supposed to enter, no luck.
    I have that problem only with drives I do not automount at startup.
    All other mount fine.

    I now get this error:
    Code:
    An error occurred while accessing 'Pasta Pessoal', the system responded: A operação pedida foi mal-sucedida.: Error mounting: mount exited with exit code 1: helper failed with:
    mount: only root can mount /dev/sdh1 on /media/A-Data
    The line looks like this:
    Code:
    UUID=3C607E73607E342C   /media/A-Data 		ntfs  	noauto,defaults,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177,windows_names,hide_hid_files	0	0
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot mount external hdd, no privileges

    I do not know options well. But does not noauto mean you have to manually mount it as root?
    Would be easier than just to have a script with the mount and run the script if you do not want it mounted when booting, but then do want it later.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cannot mount external hdd, no privileges

    Quote Originally Posted by oldfred View Post
    I do not know options well. But does not noauto mean you have to manually mount it as root?
    Would be easier than just to have a script with the mount and run the script if you do not want it mounted when booting, but then do want it later.
    I do not much about it either. I know noauto does not mount it automatically. The drive is external and not plugged all the time, the other drives I do not want them to be mounted unless I really need them.
    There must be a way to do this, to give the user permission to mount it.
    I have read on other threads, that if you add the "user" or "users" option, it gives permission to the current user or all users respectively, but it does not work.

    Thanks for your help.
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

  10. #10
    Join Date
    Nov 2005
    Location
    Portugal, Baixo Alentejo
    Beans
    349
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cannot mount external hdd, no privileges

    I configured the NTFS utility and checked the boxes for internal hdd support as well as external hdd support, rebooted and there were errors mounting the internal hdd set to automount, during the boot time. I had to press S to skip mounting.
    I disabled the support and had to change the fstab to its original values or nothing would mount.

    So, my problem persists. I have read many threats on this on the net, so this seems to be a common problem. I have a few several "solutions" but none worked for me.
    I followed this thread: http://ubuntuforums.org/showthread.php?t=1661757, nothing.

    Any help would be appreciated.
    Last edited by yoramdavid; December 29th, 2013 at 10:13 PM.
    Yoram David
    __________________________________________
    We must be the change we want for the world (Ghandi)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •