I have written a program which works fine, but when I run it as service it cannot create or write files and folders.
My program creates folder in my home directory and in that folder creates file for storing information incoming via TCP socket.
I do use User & Group in my .service but its only creating the folder without any permissions and fails to create a file.
Your help will be appreciated.