Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    mount ntfs without root


    i want to mount a ntfs-partition as user.

    I want in visudo a entry which make this:

    sudo mount /mnt/winxp

    without asking password. Is this possible?

    set ntfs-3g to setuid root don't work.

    any ideas?

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Adding the partition to your /etc/fstab file with the user option would allow users to mount it. For more information see the fstab man page
    Linux User #453176

  3. #3
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Jafarpur Sitharra(U.P.)/New Delhi, India

    Thumbs up

    you can found a very good example here:
    don't forget to make changes according to your own system.
    Sorry, Linux is not my passion .
    Its addiction!!!

  4. $spacer_open
  5. #4
    thank you, but this don't work.

    in /etc/fstab is:

        # Windows-Disks
        /dev/sda1 /mnt/winXP  ntfs-3g defaults,user 0 1
    if I try as user (not root)

    mount /mnt/winXP

    there is this failure:

    raphael@dracona:~$ mount /mnt/winXP/
    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
    in the website of ntfs-3g is: Solution: Use at least NTFS-3G 1.2506 with setuid-root set and make sure the user has access rights to the volume and mount point.

    but: my ntfs-3g version is: 2009.2.1 and set this with setuid say this:

    raphael@dracona:~$ mount /mnt/winXP/
    Mount is denied because setuid and setgid root ntfs-3g is insecure with the
    external FUSE library. Either remove the setuid/setgid bit from the binary
    or rebuild NTFS-3G with integrated FUSE support and make it setuid root.
    Please see more information at
    hmm, it seems to be more difficult...

    any other idea?

  6. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    The Sovereign State of South Carolina
    You and I seem to be having the exact same problem... Link
    Linux Mint + IceWM Registered: #371367 New Members: click here

  7. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    If you have sudo privileges, you should be able to mount this without the setuid bit. As the error message shows in raphi078's posting, you can fix that by rebuilding the ntfs-3g driver and mounter with FUSE support.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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