guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calibre


From: Mark H Weaver
Subject: Re: Calibre
Date: Mon, 16 Feb 2015 23:23:50 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Andreas Enge <address@hidden> writes:

> the attached file adds the e-book management program calibre. Eventually,
> I will put it into ebook.scm. Comments are welcome, in particular concerning
> the xdg issue.
>
> The program works for downloading and reading ebooks, but it has problems
> with mounting my attached e-reader. The problem seems to be that the guix
> calibre is not allowed to connect to my debian dbus:
> Udisks mount call failed:
> Traceback (most recent call last):
[...]
> DBusException: org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to 
> perform operation (polkit authority not available and caller is not uid 0)

It's not that you're not allowed to connect to Debian D-Bus, but rather
that D-Bus (or UDisks2) thinks you are not authorized to mount a disk.
My knowledge of this is weak, but I guess the way this works on modern
systems is that <http://www.freedesktop.org/wiki/Software/polkit/>
(Policy Kit) enables an authorization scheme where whoever is logged in
at the physical console is also granted access to mount disks, use
audio/video devices, etc.  I'm not sure why it's not working here, but I
guess it might be because we lack polkit in Guix.

     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]