setup correct permissions for config and apps

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
merge

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>