question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I can’t mount with udiskie 1.4.9 on a headless Debian testing (stretch) but I can successfully mount “manually”:

...@...:~$ udiskie-mount -a
failed to mount /org/freedesktop/UDisks2/block_devices/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation
...@...:~$ sudo mount /dev/sdb1 /tmp/
...@...:~$ 

See more details in #111 Appreciate any help!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
coldfixcommented, May 5, 2016

Hey,

looks like you are missing some permissions, see here:

https://github.com/coldfix/udiskie/wiki/Permissions

Look at which version of policykit you are running

  • version 2 -> use the instructions at the top
  • version 1 -> use the instructions at the bottom

You need these in particular:

    org.freedesktop.udisks2.filesystem-mount
    org.freedesktop.udisks2.encrypted-unlock
    org.freedesktop.udisks2.eject-media
    org.freedesktop.udisks2.power-off-drive

but won’t hurt much to allow all, that’s described there.

Sorry, I didn’t read through the other thread carefully. Just get back to me, if this doesn’t work.

0reactions
coldfixcommented, Aug 1, 2016

Great! It was my fault writing commas into the example by accident.

@yakir12: Feel free to reopen if your problem remains.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
On centos 7, there are instances where you get the error Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.
Read more >
GDBusError - Freedesktop.org
Error.AnotherError . If the other peer is using GDBus, the peer will see also FOO_BAR_ERROR_ANOTHER_ERROR instead of G_IO_ERROR_DBUS_ERROR . Note that GDBus ......
Read more >
How fix GDBus.Error: org.freedesktop.DBus.Error.InvalidArgs
Clear the session cache. open Settings -> Settings Manager -> Session and Startup -> Saved Sessions -> Clear saved sessions.
Read more >
How to fix GDBus Error org freedesktop PolicyKit1 Error Failed
This is a small guide on How to fix GDBus Error org freedesktop PolicyKit1 Error Failed : An authentication agent already exists for...
Read more >
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/libexec/gnome-terminal-server received signal 5.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found