<div dir="ltr">Hello,<br><div><div class="gmail_extra"><div class="gmail_quote">2016-04-20 18:59 GMT+02:00 Faheem Mitha <span dir="ltr"><<a href="mailto:faheem@faheem.info" target="_blank">faheem@faheem.info</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I try to mount an external USB drive using udiskie-mount from<br>
inside a cron job, I get an error as follows below. Using<br>
udiskie-mount directly from the command line works fine.<br></blockquote><div><snip><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From a big picture perspective, I don't really understand why mounting<br>
directly from the command line is treated differently from a cron<br>
job. Can someone enlighten me?<br></blockquote><div><br></div><div>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. <br><br></div><div>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).<br></div><div>    Mirek<br></div></div><br></div></div></div>