I have run it with and without root privilege
When running it as user nothing change (even after reloading swayconfig with swaymsg reload)
When running it as a root user got the following error
00:00:00.012 [swaymsg/main.c:417] Unable to retrieve socket path