Re: Write to file #agl #koi #permissions


Jose Bollo
 

On Tue, 06 Jul 2021 02:43:27 -0700
"Francesco ARGENTIERI (KINETON)" <francesco.argentieri@...>
wrote:

Have you checked audit messages in the journal?
Yes, in the journal there aren't present audit regarding my service.

user/group/other + read/write/execute from ls -l
```sh
ls -l /usr/local/lib/afm/applications/agl-service-hmi/lib
total 8904
-rw-r--r--. 1 root root 9116016 Jul 6 09:35 libafm-hmi-binding.so

ls -l /usr/local/lib/afm/applications/agl-service-hmi/conf
total 8
-rw-r--r--. 1 root root 27 Jul 6 09:35 status.json
```
the owner is root

How is installed your service? Have you created and installed a
widget?
Yes, I used CMake to compile the project ```make widget```, then I
installed by ```afm-util install agl-service-hmi.wgt```
your widget probably runs as a not root user.

Join agl-dev-community@lists.automotivelinux.org to automatically receive all group messages.