Saturday, October 8, 2011

Auto mount drives in Fedora

Open a gnome-terminal window and type
su
(provide the root password)

Code:
cd /usr/share/polkit-1/actions && cp -p org.freedesktop.udisks.policy org.freedesktop.udisks.policy_original

(it is always advisable to save the original copy of any configuration file before modifying it).

Next, still as a superuser, open in a text editor following file

/usr/share/polkit-1/actions/org.freedesktop.udisks.policy


and find the block of text containing the line:

    <description>Mount a system-internal device</description>

On Fedora 14, this is the third block from the top (the first is the header, the second is the «Mount a device» block). A few lines below in the same block you will find the line:

      <allow_active>auth_admin_keep</allow_active>

Modify it as follows:

      <allow_active>yes</allow_active>

Save the changed file and exit the editor.

The change takes effect immediately: no need to log out or reboot.

No comments:

Post a Comment