Hello, 2016-04-20 18:59 GMT+02:00 Faheem Mitha <fah...@faheem.info>: > When I try to mount an external USB drive using udiskie-mount from > inside a cron job, I get an error as follows below. Using > udiskie-mount directly from the command line works fine. > <snip>
> From a big picture perspective, I don't really understand why mounting > directly from the command line is treated differently from a cron > job. Can someone enlighten me? > polkit is treating “local users” and “active local users” differently (precisely so that users who are physically able to insert or remove a disk can mount/unmount it). A cron job is, I expect, classified as neither a local user nor as an active local user. I’m afraid I don’t think there are standalone format validators / testing tools for the permission files; check system logs, and output of polkitd to stdout/stderr (running it without --no-debug, and perhaps with G_MESSAGES_DEBUG=all in the environment). Mirek
_______________________________________________ polkit-devel mailing list polkit-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/polkit-devel