Announcement

Collapse
No announcement yet.

Fstab entries cause KDE root password requests [solved]

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

    Fstab entries cause KDE root password requests [solved]

    When I add my usual drives to fstab I get a KDD password (root) request for each drive. That wasn't the case in Hardy! Any way to avoid this? ALso when clicking on these drives in Dolphin I get root password boxes.

    Fstab is:

    /dev/sdb1 /media/disk ext3 defaults 0 2
    /dev/sda4 /media/data-backup vfat rw,umask=0 0 0


    #2
    Re: Fstab entries cause KDE root password requests

    I have the same 'issue'. It must have something to do with the fact that I dual boot and access my hard drives and their partitions from either OS (10.04 and 9.04).

    Ignore the request and enter the password when you want to access a partition.

    If you open Dolphin as root, you get to access all drives and partitions automatically. Having said that I add that one of my drives never is accessible that way. Don't know why!

    Comment


      #3
      Re: Fstab entries cause KDE root password requests

      you should be able to do a chown command on these drives. I think root by default owns these drives.

      see the man page for chown for info on options.
      Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
      Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
      Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

      Comment


        #4
        Re: Fstab entries cause KDE root password requests

        I didn't want to respond to this initially because I've never seen this behavior.

        I have had up to six OS's installed and accessed shared partitions among them and never had this happen so I doubt that's it - unless; you're using different UID/GID numbers. Then of course you won't have access.

        Normal behavior for an fstab mount is to allow access based on the mount point. So if your target directory allows access - so should your mounted partition.

        If you don't use an fstab mount and use Dolphin to access a drive or partition, it uses HAL which I believe will not allow full access by default.

        I've never seen any fstab entry cause a root password pop-up window. Since fstab is processed before the GUI is started, I can't see how this could happen. Maybe if you described in better details what you are doing when it happens

        Please Read Me

        Comment


          #5
          Re: Fstab entries cause KDE root password requests

          In my case it just pops up right after login and even before the desktop is fully loaded.

          And yes, I have access to the drives and partitions even without completing the password requests.

          Comment


            #6
            Re: Fstab entries cause KDE root password requests

            Hi,

            Try going to System Settings>Advanced>Removable Devices and uncheck "Enable automatic mounting of removable media".

            Worked for me

            Comment


              #7
              Re: Fstab entries cause KDE root password requests

              Originally posted by stevek
              Hi,

              Try going to System Settings>Advanced>Removable Devices and uncheck "Enable automatic mounting of removable media".

              Worked for me
              Bingo, that worked for me too! And partitions that are not specified in fstab cause a password request when clicking on them in Dolphin (and no access if password is not entered). The others don't. I have a feeling this automatic mounting option is going to drive quite a few Lucid users nuts and will cause more forum entries...there should be an option somewhere to enable mounting w/o the need for password entry. Thanks to all of you!

              Comment


                #8
                Re: Fstab entries cause KDE root password requests

                it's because /media is a "dynamically-created" mountpoint. You can probably do a sudo mkdir /media/ and it would take care of it.

                mark this topic as [solved] please.
                Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
                Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
                Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

                Comment

                Working...
                X