On Tue, 03 Aug 2021 03:52:44 -0700 "Francesco ARGENTIERI (KINETON)" <francesco.argentieri@xxxxxxxxxx> wrote: > Hi everyone, > Currently, I'm not able to write to a file on disk using my service. > So, I've understood that to store a file correctly, I need to write a > file in a folder such as ```$HOME/app-data/<name-of-app>/``` and > similar. Could you provide an example, couldn’t you? Hi Francesco, The systemd's service that launch your service should have setup the working directory to that directory ([1] & [2]). So you can assume that the current working directory is writable. If it is not the case it implies that something is broken. Best regards José Bollo [1] https://git.automotivelinux.org/src/app-framework-main/tree/conf/unit/service.inc#n108 [2] https://git.automotivelinux.org/src/app-framework-main/tree/conf/unit/macros.inc#n63 > > Best Regards, > FA > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9350): https://lists.automotivelinux.org/g/agl-dev-community/message/9350 Mute This Topic: https://lists.automotivelinux.org/mt/83998229/2167316 Mute #permissions:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/permissions Mute #koi:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/koi Mute #agl:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/agl Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-