GNOME Bugzilla – Bug 786476
My system asks for password twice when I mount disc image files using the option from nautilus context menu
Last modified: 2017-08-21 18:14:08 UTC
My summary says itself. The images are mounted after I enter my password the first time (Shell shows a notification and nautilus shows the files in background of the second pw dialog).
Is ask for pw to mount disc image files the correct behavior? Is there some security risk if no pw is required?
What is "your system"? (distribution?) Which actual password does this refer to?
Hello, the permission rules are defined by UDisks or even your downstream distribution. You can check /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy for "loop-setup" to have <allow_active>yes. and if it behaves differently maybe the session detection is disturbed. For me (GNOME 3.22 on Debian Sid with Disks 3.25.90) it works without authentification… and even if I force authentification I still get only one password dialog. Can you provide details about your environment (distribution and udisks, GNOME versions and the the .policy file)?
Created attachment 357924 [details] policy file content I'm testing Gnome 3.26 beta on Antergos (Arch-based). First dialog asks my root pw to mount the ISO file, the second dialog asks the same pw to "modiifty the loop device". udisks 2.7.2, pdf shows my .policy file content.
Hi, thanks for the information. I don't know why you have this content in the file, but according to that it works as expected. If you did not modify it yourself please ask you distribution why they don't ship <allow_active>yes</allow_active> for "loop-setup" in the UDisks policy. Regards, Kai