How can I make gnome-mount forget its previous authentication?

Asked by Stephen Gornick

I clicked on an NTFS partition and was told that a policy required that I authenticate. I entered my password and gnome-mount mounted the drive. However, I left the "remember this decision" button checked and now gnome-mount will never ask me for the password again.

Is there a way to force gnome-mount to forget that the action has been authenticated?

In researching this, I learned that gnome-mount is using PolicyKit which stores this authentication.

$ polkit-auth --explicit-detail

org.freedesktop.hal.storage.mount-fixed
  Authorized: Yes
  Scope: Indefinitely
  Obtained: Sat Apr 26 13:23:10 2008 by auth as steve (uid 1000)
  Constraint: Session must be on a local console
  Constraint: Session must be active

But I cannot figure out what I want to do. Is what I am looking for
    -- revoke org.freedesktop.hal.storage.mount-fixed
?
Or do I want to just change the Scope to current session [?] instead of "Indefinitely"? (if so, how?)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-mount Edit question
Assignee:
No assignee Edit question
Solved by:
Stephen Gornick
Solved:
Last query:
Last reply:
Revision history for this message
Stephen Gornick (sgornick) said :
#1

I figured it out.
System -> Administration -> Authorizations
Then
  org.freedesktop.hal.storage
    select "Mount file systems from internal drives"
then revoke the existing explicit authorization.

Back in Nautilus, unmount the drive and then attempt to access it again. Will be prompted for password.