View previous topic :: View next topic |
Author |
Message |
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Sun Mar 13, 2016 3:11 pm Post subject: [SOLVED] Gnome prompts for root password to mount usb stick |
|
|
Hello,
Since last update from 3.16 to 3.18 Gnome does not automatically mount USB flash drive anymore. It now prompts for root password.
This is annoying, how to revert to the previous behavior ?
Thank you. _________________ Linux, cause booting is for adding new hardware
Last edited by Nitro_146 on Wed Mar 30, 2016 8:00 pm; edited 1 time in total |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Mon Mar 14, 2016 6:07 pm Post subject: Re: Gnome 3.18 now prompts for root password to mount usb st |
|
|
Nitro_146 wrote: | Hello,
Since last update from 3.16 to 3.18 Gnome does not automatically mount USB flash drive anymore. It now prompts for root password.
This is annoying, how to revert to the previous behavior ?
Thank you. |
i can confirm it's the same behavior on my machine.
i don't know how to fix this also. |
|
Back to top |
|
|
vasettoo Tux's lil' helper
Joined: 11 Nov 2012 Posts: 97
|
Posted: Tue Mar 15, 2016 12:49 pm Post subject: |
|
|
The same behaviour occurs with partitions not mounted in fstab but instead in '/run/media/$USER/<mount_point>'. I suspect udev rule(s) is to blame. |
|
Back to top |
|
|
WvR Apprentice
Joined: 03 Mar 2011 Posts: 200 Location: Tsuruga, Japan
|
Posted: Fri Mar 18, 2016 4:48 am Post subject: |
|
|
I can confirm this bug here as well, it started yesterday when I restarted my workstation.
I updated to a newer kernel (4.1.15-gentoo-r1), taking into account all the systemd settings.
I doubt udev is to blame, my /etc/udev/rules.d/ is empty (?) |
|
Back to top |
|
|
yuhu Tux's lil' helper
Joined: 17 Oct 2006 Posts: 86
|
Posted: Thu Mar 24, 2016 6:04 pm Post subject: |
|
|
Code: | chown username:usergroup /run/media/<username> |
has solved this problem for me |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Thu Mar 24, 2016 7:27 pm Post subject: |
|
|
That does not work for me. _________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
aahamlin n00b
Joined: 28 Nov 2011 Posts: 6
|
Posted: Wed Mar 30, 2016 1:54 pm Post subject: Fix for automount issue in Gnome 3.18 |
|
|
Found this "gkr-pam: no password is available for user" in while running, $ journalctl --user -f, and plugging in flash drive.
Search on google got me to this blog post by Mike Greene. He shows the two setting in /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy file that need to be changed to allow users in active logon sessions to mount and eject media like earlier versions did.
References:
http://www.mgreene.org/?p=221
https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Wed Mar 30, 2016 7:55 pm Post subject: |
|
|
It seems to work. Thanks ! _________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
dlaor n00b
Joined: 27 Jan 2008 Posts: 55
|
|
Back to top |
|
|
|