Results 1 to 6 of 6

Thread: Authentication is required to mount the device

  1. #1

    Default Authentication is required to mount the device

    I am using Open Suse 13.1

    Every time I try to enter a hard drive in Dolphin there is a pop up message
    "Authentication is required to mount the device"
    prompting to enter the root password.
    I changed
    <allow_active>auth_admin_keep</allow_active>
    to
    <allow_active>yes</allow_active> in
    /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
    but it didn't help.

    Are there any other security settings for HD mounting?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,721

    Default Re: Authentication is required to mount the device

    It is not quite clear to me what sort of device this is. Is it connected (and disconnected) during the up-time of the system? I ask because file systems that are on mass storage devices that are permanently connected (like revolving disks on PCI) are most often permanently mounted from boot to shutdown by having an entry for them in /etc/fstab.
    Henk van Velden

  3. #3

    Default Re: Authentication is required to mount the device

    Quote Originally Posted by Setsuko View Post
    I am using Open Suse 13.1

    Every time I try to enter a hard drive in Dolphin there is a pop up message
    "Authentication is required to mount the device"
    prompting to enter the root password.
    I changed
    <allow_active>auth_admin_keep</allow_active>
    to
    <allow_active>yes</allow_active> in
    /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
    but it didn't help.
    You edited the wrong file. First, that one is for udisks, but KDE uses udisks2. Second, /usr/share/polkit-1/actions/ contains the package defaults and are overridden by the actual polkit configuration in /etc/polkit-1/rules.d/. Third, your change will be lost when installing updates.

    Add the following line to /etc/polkit-default-privs.local instead:
    Code:
    org.freedesktop.udisks2.filesystem-mount-system yes
    and then run:
    Code:
    sudo /sbin/set_polkit_default_privs
    You shouldn't have to enter the root password then anymore when mounting your drive in KDE.

  4. #4

    Default Re: Authentication is required to mount the device

    The device is a hard drive with FAT32 file system (Windows XP is installed there).

    There is only one line /etc/fstab

    /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XC82557-part7 / ext4 acl,user_xattr 1 1

  5. #5

    Default Re: Authentication is required to mount the device

    Quote Originally Posted by wolfi323 View Post
    You edited the wrong file. First, that one is for udisks, but KDE uses udisks2. Second, /usr/share/polkit-1/actions/ contains the package defaults and are overridden by the actual polkit configuration in /etc/polkit-1/rules.d/. Third, your change will be lost when installing updates.

    Add the following line to /etc/polkit-default-privs.local instead:
    Code:
    org.freedesktop.udisks2.filesystem-mount-system yes
    and then run:
    Code:
    sudo /sbin/set_polkit_default_privs
    You shouldn't have to enter the root password then anymore when mounting your drive in KDE.

    It worked!
    Thank you very much!

  6. #6

    Default Re: Authentication is required to mount the device

    Thanks wolfi, this also works in kde3 (switched to udisks2 backend as well)

Posting Permissions

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