Allow systemd service to create and write files/folders

by Greg   Last Updated April 29, 2019 17:02 PM

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.

Tags : systemd services


Related Questions


Updated March 04, 2018 19:02 PM

Updated December 03, 2015 08:01 AM

Updated February 13, 2018 09:02 AM

Updated December 16, 2016 09:00 AM

Updated March 06, 2017 18:02 PM