Shouldn't allow proceeding with setup after errors during the launch
If a Windows user install Openfire into Program files folder and runs the launcher without Run as admin option (even if he is logged in as administrator), the launcher shows errors, but the user is still allowed to proceed with setup and eventually stumbles on the "current password" error, which is not present when the launcher is running as it should with Run as admin option or Openfire is not installed into Program files or Openfire is running as a service (with SYSTEM permission in that case). Openfire shouldn't allow continuing with setup in such case. Error:
Windows with UAC protection; Debian when running with a regular user
So, my issue with Debian was not an issue. I just didn't know it already creates openfire user and runs with it. But the main issue is still here, Openfire is showing Current password prompt, when setup is running without needed permissions, which is confusing and shouldn't be shown.
Actually, deb package creates a user openfire:openfire and daemon runs with it, so there is no need to change permissions, all folders already are owned by openfire user.
I have installed Openfire via dpkg, but i had to use sudo to install. To run it with a regular user i had to change permissions to my user instead of su. But i think i miss something still and i get Current password prompt on a fresh install.
sudo chown -R test:users /usr/share/openfire
sudo chown -R test:users /etc/openfire (conf)
sudo chown -R test:users /var/log/openfire (logs)
sudo chown test:users /var/run/openfire.pid (pid)
then i run with user test: /etc/init.d/openfire start
it complains about not being able to set gid, but setup is running