<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 16, 2015 at 5:44 PM, Chris Bell <span dir="ltr"><<a href="mailto:cwbell@narmos.org" target="_blank">cwbell@narmos.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have configured polkit to allow my user to manage basically everything in systemd without requiring sudo or root. Enabling, disabling, reloading, etc all work as expected. However, 'systemctl edit' does not. It does not deny permission for me to use the function, but it fails when trying to copy the file to a temporary directory:<br>
<br>
$ systemctl edit rngd.service<br>
Failed to create directories for "/etc/systemd/system/rngd.service.d/override.conf": Permission denied<br>
<br>
<br>
Is there a way for polkit to correct or temporarily override these permissions? Or should I use ACLs to grant write permission to my user for those directories?<br></blockquote><div><br></div><div>The problem is that `systemctl edit` only uses D-Bus calls for reloading systemd; it still manages the unit files directly. For now, use directory ACLs.</div><div><br></div><div>(Wonder if this could somehow make use of GNOME's new admin:/// vfs...)</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>