Permission isssue

Hello Team,
I’m having this permission issue and its kind of getting tiresome.
Anytime i need to make a quick edit, I have to chmod the folder to 777 before editing, else it wont be updated. (Although it will give a success message)

Most times, the app wont will be able to read, update or mkdir the log file.

Any quick fix to this.
Thanks in advance

i’m not advanced user, but when i need give permisions i go to the installation route and try (changing username for user)

chown -R username:username .

In fact it is chown -R linuxusername:linuxgroup *

But linuxgroup = linuxusername = hestiauser