View previous topic :: View next topic |
Author |
Message |
314q8927bb4aw n00b
Joined: 11 Jan 2017 Posts: 11
|
Posted: Sun Mar 05, 2017 11:39 am Post subject: Unable to mount devices without desktop environment. |
|
|
I've recently switched from an xfce setup to a bspwm one. I've been ironing out all the problems that I've been having and I've noticed that I can't mount any devices with a non-root user.
Using Spacefm I get the error message:
Code: | Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
Error mounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
|
And from a terminal I get "Only root can do that"
You've probably guessed that this is probably just a permission issue and you're probably right, but I'm not sure what groups/permissions that the user must be given access to in order to fix the problem. Could someone shed some light on this? |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Sun Mar 05, 2017 11:45 am Post subject: |
|
|
Perhaps there's some problem with Polkit... |
|
Back to top |
|
|
314q8927bb4aw n00b
Joined: 11 Jan 2017 Posts: 11
|
Posted: Sun Mar 05, 2017 12:10 pm Post subject: |
|
|
Thank you , it was polkit. I had to give permission to the user in /etc/polkit-1/rules.d/10-udisks.rules. |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Sun Mar 05, 2017 6:48 pm Post subject: |
|
|
I'm glad you fixed the problem. Please remember to mark this thread as [SOLVED]. Thanks. |
|
Back to top |
|
|
|