Isn't the writeable application home directory like
/home/<userid-number>/app-data/<name-of-app>/
e.g.
/home/0/app-data/agl-service-hmi ?
/usr/local/lib/.... is the 'installation' directory and should not be writeable by default.
Best regards,
Jan-Simon
------
Jan-Simon Möller
AGL Release Manager
The Linux Foundation
Visit us at:
www.automotivegradelinux.org
lists.automotivelinux.org
www.linuxfoundation.org
Jan-Simon
------
Jan-Simon Möller
AGL Release Manager
The Linux Foundation
Visit us at:
www.automotivegradelinux.org
lists.automotivelinux.org
www.linuxfoundation.org
On Tue, Jul 6, 2021 at 12:20 PM Jose Bollo <jose.bollo@xxxxxxx> wrote:
On Tue, 06 Jul 2021 02:43:27 -0700
"Francesco ARGENTIERI (KINETON)" <francesco.argentieri@xxxxxxxxxx>
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.
_._,_._,_
Links:
You receive all messages sent to this group.
View/Reply Online (#9296) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #permissions | Mute #koi | Mute #agl
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]
_._,_._,_