Recording path for TVHeadend

Dear TVheadend-users,

I have tvheadend installed on my Turris Omnia and have been trying to record some movies to the NAS-drive included in my Turris. I have tried to give permissions to tvheadend by chmod -R 777 /path/to/recordings but to no avail. TVHeadend says “time missed” in the failed recordings tab. Is there a default user for tvheadend that needs to get the permissions for storing recordings?