Announcement

Collapse
No announcement yet.

hal-storage-fixed-mount refused uid 1000

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

    hal-storage-fixed-mount refused uid 1000

    hal-storage-fixed-mount refused uid 1000

    http://www.google.com/search?hl=en&q...=Google+Search

    Happens on a LOT of distros. This error DID NOT happen in Kubuntu 704, but it DOES happen in 710. It also happens in Mint and Freespire.

    Put simply, I cannot access any of my drives except the Linux boot partition (and swap of course).

    Here is my /etc/fstab

    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/sdh2 :
    UUID=4d1047df-5f28-4462-b155-44843ca0ae89 / ext3
    defaults,errors=remount-ro 0 1
    # Entry for /dev/sdh1 :
    UUID=348455A984556DFC /media/sde1 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    # Entry for /dev/sdh5 :
    UUID=d9631695-3162-40bf-9f41-7ca88b4f9788 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0


    So! Somewhere online, I found a “solution;” instead of trying to directly access / mount them, I should sudo mkdir /media/DISK1, DISK2, and so on for all of my drives, then chmod the directories I made. Ok, done. No problems.

    Then I should add this to the etc/fstab file above, at the end:

    /dev/sdh1 /media/DISK0 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sdi1 /media/DISK1 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sdj1 /media/DISK2 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sde1 /media/USB1 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sdf1 /media/USB2 ntfs-3g defaults,locale=en_US.UTF-8 0 0


    You will see USB devices listed above, BTW. This happens with my USB drives, my IDE drives, my SCSI drives...

    This worked until I rebooted. When I rebooted, I had the SAME PROBLEM. /etc/fstab was Unchanged, and to make it weirder, now my drives were sdk, sdl, sdm, etc. They just moved down the alphabet. I tried changing those trailing zeros above to various combinations of 0,1 and 1,1 and 1,2 and 2,2 and 2,1 and 2,0. Nothing fixes this.

    #2
    Re: hal-storage-fixed-mount refused uid 1000

    I'm a little suspicious of ntfs-config as a fstab-writer ... :P

    Can you open a console window, and run these two commands, and post their outputs?

    Code:
    blkid

    Code:
    df -h

    Maybe we'll learn something further.

    Comment


      #3
      Re: hal-storage-fixed-mount refused uid 1000

      A friend also led me to these:
      http://people.debian.org/~terpstra/m...4bc8dc.en.html
      http://www.mail-archive.com/ubuntu-b...msg282647.html

      So I have to bypass or delete code written for a 'PolicyKit' module...

      Anyway, I will issue those commands and list the output tonight, thanks

      Comment


        #4
        Re: hal-storage-fixed-mount refused uid 1000

        Okay, I found the answer... but not the solution.
        This is a very widely reported bug in anything *ubuntu based.

        https://bugs.launchpad.net/ubuntu/+s...ibs/+bug/98751
        https://bugs.launchpad.net/ubuntu/+s...al/+bug/115768

        PolicyKit wasn't ported to Debian and as I understand things, the next major rev of Ubuntu (and therefore it's HAL) shipped anyway.

        The solution is to REMOVE this:
        + if (!invoked_by_uid || strcmp(invoked_by_uid, "0"))
        + if (!privilege || strcmp (privilege, "hal-storage-removable-mount"))
        + permission_denied_privilege (privilege, invoked_by_uid);

        Which file? No idea. I haven't found anyone who could tell me. I'd love to find it, compile, and make it available on my website to fix this issue -- it's a showstopper of the sort that would make a first-timer laugh loudly while getting their Windows CD to reinstall Windows.

        Comment


          #5
          Re: hal-storage-fixed-mount refused uid 1000

          The second bug link provides at least a work-around:
          recently i installed ntfs-config, a package that attempts to tell hal to mount ntfs partitions using the ntfs-3g (read/write) driver.
          ntfs-config tries to achieve so by symlinking one of its policy files under /etc/hal/fdi/policy. The file gets blatantly ignored (even if the hald cache gets invalidated if any modifications are made to such file, judging from the output of hald --daemon=no --verbose=yes, therefore hald is picking that file up). The driver hald tries to use when mounting the partition is still the read only ntfs driver.
          The same policy file, nevertheless, works like a charm if placed under /usr/share/hal/fdi/policy/10osvendor, where all of the other standard policy files already reside.
          The file being referred to is 10osvendor. This file is located in /etc/hal/fdi/policy. If it is copied to /usr/share/hal/fdi/policy then it is stated to correct the problem.
          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


            #6
            Re: hal-storage-fixed-mount refused uid 1000

            No, because
            #1. this "file" isn't a file, it's a folder
            #2. as such, it cannot be edited
            #3. this folder is already in /usr/share/hal/fdi/policy/

            Comment


              #7
              Re: hal-storage-fixed-mount refused uid 1000

              Nikolay Pavlov wrote on 2007-07-11 in the bug report:
              ...ntfs-3g works only if 20-ntfs-config-write-policy.fdi is located under /usr/share/hal/fdi/policy/10osvendor directory...
              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


                #8
                Re: hal-storage-fixed-mount refused uid 1000

                Super newbie here, both to Linux and to these forums.
                I hope my question is an applicable one.
                I upgraded from Ubuntu 7.04 yesterday and have had all kinds of problems. I'll start a thread about it after this. My question is, it appears to me that not being able to access drives is a common problem after the upgrade. Is there a chance of an update that will fix it. I have four HDD drives, two of which are in a raid 0 array, the other two being NTFS. All drives get the "hal-storage-fixed-mount-all-options refused uid 1000" error.

                Comment


                  #9
                  Re: hal-storage-fixed-mount refused uid 1000

                  I am a newby, first time user of Linux and kubuntu. I installed yesterday following the instruction on the website for a dual OS system. The problem I've had is a "hal-storage-fixed-mount refused uid 999" and it wiped out about five hours of installing a new Win XP.

                  Any ideas how I messed up or sho

                  Comment

                  Working...
                  X