Linux user permission right way
To solve linux user and group permission issue for any kind of project.
First of all find the right user and right group which is executing that process.
Silver bullet of linux user permission.
sudo lsof -iTCP -sTCP:LISTEN -Pn
export OWENRE=$(whoami)
export GROUP=$(whoami)