mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
bastille: prevent host uids on files
We get an intermittent QA error about file permissions, happening roughly
on 1 build of 10.
The change adds chown to prevent host ids on files related to the
set_required_questions.py script, to avoid long debugging for now.
Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
(cherry picked from commit 7bdd0a8b48)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
committed by
Scott Murray
parent
55757d4379
commit
a2d79f44e9
@@ -146,6 +146,8 @@ do_install () {
|
||||
|
||||
${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions
|
||||
|
||||
chown root:root -R ${D}/${datadir}/Bastille
|
||||
|
||||
ln -s RevertBastille ${D}${sbindir}/UndoBastille
|
||||
|
||||
# Create /var/log/Bastille in runtime.
|
||||
|
||||
Reference in New Issue
Block a user