[system] fails when user name is different
@cap
Submitted by Julien Isorce Assigned to D-Bus Maintainers
Description
Created attachment 32217 log of 2 cases, one works, the other fails
*** Steps to reproduce:
-- run dbus-daemon --system as the SYSTEM user. -- run dbus-send as normal user (Administrator for example). -- dbus-send fails
(if dbus-daemon --system is running as same user as the one to run dbus-send, then the reply is ok)
*** Other informations:
To run dbus-daemon as SYSTEM user:
For example put bin, etc, and share in C:\dbus\dbus-exe
cygrunsrv -I dbus-daemon -i --path /cygdrive/c/dbus/dbus-exe/bin/dbus-daemon.exe --chdir /cygdrive/c/dbus/dbus-exe --args --system --env DBUS_VERBOSE=1 --env DBUS_TEST_HOMEDIR="c:\dbus\dbus-exe"
then cygrunsrv -E dbus-daemon, to run it.
In a cmd console type: set DBUS_TEST_HOMEDIR=C:\dbus\dbus-exe dbus-send --print-reply --system --dest="org.freedesktop.DBus" /org/freedesktop/DBus/Introspectable org.freedesktop.DBus.Introspectable.Introspect
Attachment 32217, "log of 2 cases, one works, the other fails":
cyrunsrv_SYSTEM_dbus_daemon.zip
Version: 1.5