[systemd-devel] timedate1 permissions

Greg Wilson-Lindberg GWilson at sakuraus.com
Wed Feb 17 17:47:43 UTC 2021


First, I hope that I have found the proper list for this question, if not I'm sorry to bother you all.

I'm trying to run a program that changes the timezone. Our application is using the dbus facility to change the time zone. It works when run as root but fails when run as our user. I had thought initially that the problem was with dbus permissions but have since found out that the fact that the messages are going over the dbus means that the dbus permissions are set correctly.

So, it seems that the systemd.timedate1 utility has it's own permissions that is rejecting our request to change the timezone. My question at this point becomes, how do I change the permissions for the system.timedate1 utility to allow my non-root user to change the time and timezone?

Regards,
Greg Wilson-Lindberg


More information about the systemd-devel mailing list