Re: Write to file #agl #koi #permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> On Tue, Jul  6, 2021 at 11:12 AM, Jose Bollo wrote:
> 
> >
> > If your application runs with the label User::App::agl-service-hmi
> > then it is not an issue with Smack security module.
> > 
> > If your application has an other label, it is an other story. If you
> > are not sure, you can check it using 'ps -Z'.  
> 
> ```sh
> h3ulcb:~# ps -Z
> LABEL                               PID TTY          TIME CMD
> System                              701 ttySC0   00:00:00 login
> System                             1058 ttySC0   00:00:00 sh
> System                             1113 ttySC0   00:00:00 ps
> ```

That is not the process status of your service. You have to add some
argument to get that status. If you try to run your service from
command line, logged as root, it can explain the issue. Have you
checked audit messages in journal?


> > Have you checked DAC permissions?  
> 
> 
> No, can you explain?

user/group/other + read/write/execute from ls -l

> > Launched by AGL framework, your application runs in an appropriate
> > working directory dedicated to its uses. Have you tried to write in
> > the current working directory?  
> 
> Can you be more precise? In this passage what are you referring to?

How is installed your service? Have you created and installed a widget? 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9292): https://lists.automotivelinux.org/g/agl-dev-community/message/9292
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]
-=-=-=-=-=-=-=-=-=-=-=-





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux