Announcement

Collapse
No announcement yet.

[Solved] NTFS unprivileged user / partition not mounting

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] NTFS unprivileged user / partition not mounting

    Hi
    After a BIOS update, my main NTFS storage partition didn't mount.

    Something about unprivileged user not allowed to mount. it says to find information at http://ntfs-3g.org/support.html#unprivileged
    I have tried
    # chown root $(which ntfs-3g)
    # chmod 4755 $(which ntfs-3g)
    but it does only change the problem and the error message I get now is the following

    It says 'mount is denied because setuid and setgid root ntfs-3g is insecure within the fuse library. either remove the setuid/setgid from the binary or rebuild ntfs-3g with integrated fuse support and make it setuid-root. please see more information at http://ntfs-3g.org/support.html#unprivileged'

    I have seen similar discussion about the issue, but none with enough explanations to understand ...
    Seems like you can't mount if you are not root, but then to use an ntfs partition everyday, what is the best course ? explanations in newbie's language please ....

    my fstab lines :
    # /dev/sda5 storage NTFS partition
    /dev/sda5 /home/username/Mountpoint ntfs user,auto,exec 0 0

    Thanks in advance
    kln
    Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

    #2
    Re: NTFS unprivileged user / partition not mounting

    NTFS-3G Manual

    I think you need to change the fstab entry from ntfs to ntfs-3g It's been awhile - I no longer have Windoze installed - it's contained in a VM - so I can't look at my fstab file.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: NTFS unprivileged user / partition not mounting

      Doesn't work.
      Though I feel I get the second message directly now.
      any other idea ?
      Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

      Comment


        #4
        Re: NTFS unprivileged user / partition not mounting

        Originally posted by kln
        my fstab lines :
        # /dev/sda5 storage NTFS partition
        /dev/sda5 /home/username/Mountpoint ntfs user,auto,exec 0 0
        Have you ever been able to access the ntfs partition? I see what I think would be a conflict in ownership/permissions with the mountpoint you are using - /home/username/Mountpoint - in that you are creating a mountpoint for the ntfs partition within your users home directory.

        What happens if you create the Mountpoint under /media, the directory on the root ( / ) partition, which is the usual place to create mountpoints, and then change your fstab accordingly?

        Making a mountpoint in /media is done 'as root'.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: NTFS unprivileged user / partition not mounting

          If you want to mount everyday without having to use a password then I suggest you do use the ~/ mountpoint but I think Snowhog is right about the ntfs-3g issue. This is what I have in fstab:

          Code:
          /dev/sda1 /home/steve/Partitions/Windows/WinF ntfs-3g defaults 0 0
          /dev/sdb1 /home/steve/Partitions/Windows/WinC ntfs-3g defaults 0 0

          Comment


            #6
            Re: NTFS unprivileged user / partition not mounting

            I have tried what you said, to create a folder in /media and use it as mountpoint in fstab
            Code:
            /dev/sda5	/media/Luggage_250	ntfs-3g	user,auto,exec	0	0
            If I use dolphin - normal user, I get this (cf print screen ntfs-not_root.jpg)
            the first sentence is french - an error occured when trying to access volume(ntfs). somehow language installed - french, english & chinese- got all mixed up and some lists of programs or options show items in randomly either of those three languages ...

            But if I open dolphin through Konsole as root, I get this (cf print screen ntfs-root.jpg)
            same first sentence.

            True my computer (linux rather than the computer) is not shuting down properly. It stops before with a black screen with only the mouse showing, then after 5 min I press once the off button and kubuntu shuts itself down.
            Actually since that BIOS update, after being on for 10min, the laptop shut itself down for 'critical temperature reached - 144C'. then after it is turned back on again, it stays on. kind of need warming up >
            Attached Files
            Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

            Comment


              #7
              Re: NTFS unprivileged user / partition not mounting

              And to answer Snowhog question more precisely : no, haven't been able to reach the partition. I can see it in Klauncher (now that it is mounted under /media) but it says the requested device cannot be accessed when clicking on it.
              Thanks for helping
              Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

              Comment


                #8
                Re: NTFS unprivileged user / partition not mounting

                Do you have 'valuable' data on this partition? Do you have Windows installed on this PC as well (dual-boot), and if 'yes,' can you access the data when running Windows?
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: NTFS unprivileged user / partition not mounting

                  you may nead to run windows chkdsk on it..........I think I remember having some simaler prob once and that's all it was..........?

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #10
                    Re: NTFS unprivileged user / partition not mounting

                    No, I don't have windows installed. I am using Intrepid.
                    And yes, I have valuable data on the partition.

                    Any idea ? How could this be linked to a BIOS update ?
                    Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

                    Comment


                      #11
                      Re: NTFS unprivileged user / partition not mounting

                      Code:
                      ~$ sudo ntfs-3g.probe --readonly /dev/sda5
                      ~$ sudo ntfs-3g.probe --readwrite /dev/sda5
                      $LogFile indicates unclean shutdown (0, 0)
                      Actually, I had quite a lot of 'unclean' shutdown. Either critical temperature reach (which is probably a bug in the new BIOS, happening only on my computer), or the computer not shuting down properly. So it may be something is damaged on the partition ? How can I check if there is other way to mount it ?
                      Also does the fact that ntfs-3g.probe --readonly doesn't return anything mean that it can readonly ?

                      in QTparted, the partition is there, as usual.
                      Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

                      Comment


                        #12
                        Re: NTFS unprivileged user / partition not mounting

                        Other than that :

                        - I have ntfs-3g 1.2506 so it does have integrated FUSE support.

                        - is this ok : ?
                        Code:
                        ~$ ls -l /bin/ntfs-3g
                        -rwsr-xr-x 1 root root 44080 2008-07-10 10:13 /bin/ntfs-3g
                        - access rights to mountpoint
                        Code:
                        ~$ ls -ld /media/Luggage_250
                        drwxr-xr-x 2 root root 4096 2009-09-15 00:24 /media/Luggage_250
                        - Is this of any use : ? (I don't know what this is)
                        Code:
                        ~$ ls -l /dev/sde* /dev/fuse
                        ls: cannot access /dev/sde*: No such file or directory
                        crw-rw----+ 1 root fuse 10, 229 2009-09-16 20:49 /dev/fuse
                        - groups
                        Code:
                        ~$ groups
                        'user'(me) adm dialout cdrom plugdev fuse lpadmin admin sambashare
                        If all of this that ntfs-3g says is required is ok, then ... I hope there are no partition problems !
                        Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

                        Comment


                          #13
                          Re: NTFS unprivileged user / partition not mounting

                          That might help :
                          I have two external disk (2.5" 80Go and 3.5" 500Go) and the same problem occur with one of them (80Go), but not the other. On the other hand, they both open normally on a another computer under WinXP the picture attached to this post is the error message displayed in dolphin).

                          So this ntfs problem I have is apparently not linked to the partition itself, but to Kubuntu having a problem to mount this certain kind of ntfs partition. (are there different kind ?).

                          I don't really get it ...
                          Attached Files
                          Single boot Kubuntu12.04 on Zepto NoxA14 Intel Dual Core 2GHz (64-bit), RAM 4Go, Nvidia GeForce 9600M GT

                          Comment


                            #14
                            Re: NTFS unprivileged user / partition not mounting

                            Each entry in fstab contains, as the last entries, either 0 0 or 0 2. 0 0 tells the system to check the filesysem before mounting. 0 2 tells the system to only check the filesystem after x number of mounts.
                            Well, when you get 'older,' it helps if you RTM (read the manual) instead of relying on your memory! :P

                            From man fstab:
                            The sixth field, (fs_passno), is used by the fsck[8] program to deter‐
                            mine the order in which filesystem checks are done at reboot time. The
                            root filesystem
                            should be specified with a fs_passno of 1, and other
                            filesystems should have a fs_passno of 2
                            . Filesystems within a drive
                            will be checked sequentially, but filesystems on different drives will
                            be checked at the same time to utilize parallelism available in the
                            hardware. If the sixth field is not present or zero, a value of zero
                            is returned and fsck will assume that the filesystem does not need to
                            be checked.
                            Normally, a user specified partition other than root ( / ) is/should be set as 0 2. It's a shot, but edit your fstab file and change the problematic partitions from 0 0 to 0 2 and see if there is any difference in what happens.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: NTFS unprivileged user / partition not mounting

                              if a ntfs partition gets corupted some times it wont be mountable until it's fixed if you cant run chkdsk on it from windows then you could try ntfsfix .....it's part of the ntfsprogs package.

                              Code:
                              sudo apt-get install ntfsprogs
                              then if it went well and your ntfs partitin is /dev/sda5

                              Code:
                              sudo ntfsfix /dev/sda5
                              and then retry mounting in dolphin.............or reboot and retry.

                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X