<div dir="ltr">I am unable to freely create & enable user unit files and I'm not sure why<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">$ systemctl edit --user --force --full test.service</font></div>Successfully installed edited file '/home/me/.config/systemd/user/test.service'.<div><font face="monospace"><br></font></div><div><font face="monospace">$ cat /home/me/.config/systemd/user/test.service</font></div>[Unit]<br>Description=Test user unit files<br>[Service]<br>ExecStart=/bin/sh -c true<br>[Install]<div>WantedBy=default.target</div><div><br></div><div><font face="monospace">$ systemd-analyze verify /home/me/.config/systemd/user/test.service</font></div><div><br></div><div><font face="monospace">$ systemctl --user daemon-reload<br></font><span style="font-family:monospace"><br>$ systemctl --user enable test.service</span></div><div>Failed to enable unit: Unit file test.service does not exist.<br><br><font face="monospace">$ systemctl --user enable /home/me/.config/systemd/user/</font><span style="font-family:monospace">test.service</span></div><div>Failed to enable unit: Access denied<br><br><font face="monospace">$ systemd-analyze --user unit-paths</font></div><div>/home/me/.config/systemd/user.control</div><div>/run/user/60065/systemd/user.control</div><div>/run/user/60065/systemd/transient</div><div>/run/user/60065/systemd/generator.early</div><div>/home/me/.config/systemd/user</div><div>/etc/xdg/systemd/user</div><div>/etc/systemd/user</div><div>/run/user/60065/systemd/user</div><div>/run/systemd/user</div><div>/run/user/60065/systemd/generator</div><div>/home/me/.local/share/systemd/user</div><div>/usr/local/share/systemd/user</div><div>/usr/share/systemd/user</div><div>/usr/local/lib/systemd/user</div><div>/usr/lib/systemd/user</div><div>/run/user/60065/systemd/generator.late</div><div><br><font face="monospace">$ ls -la /home/me/.config/systemd/user</font></div><div>total 12</div><div>drwxr-xr-x 2 me me 4096 Jun 13 09:42 .</div><div>drwxr-xr-x 3 me me 4096 Jun 13 09:42 ..</div><div>-rw-r--r-- 1 me me  112 Jun 13 09:42 test.service<br><span style="font-family:monospace"><br>$ cat /etc/profile.d/xdg-user-dirs.</span><span style="font-family:monospace">sh</span></div><div>#!/bin/sh</div><div># org.freedesktop.xdg</div><div>XDG_CONFIG_HOME=$HOME/.config</div><div>XDG_CACHE_HOME=$HOME/.cache</div><div>XDG_DATA_HOME=/$HOME/.local/share</div><div>XDG_STATE_HOME=$HOME/.local/state</div></blockquote><div><br><div>I would have thought <font face="monospace">systemctl edit --user</font> sorts out those pesky permissions issues. All available information on troubleshooting this issue that I have been able to gather only pertains to SELinux machines, which doesn't apply here.</div><div><br></div><div>...I missed a step, didn't I?</div><font color="#888888"><div><br></div><div>--D</div></font></div></div>