mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-06 04:41:06 +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
5f791761ff
commit
2617d4c9c9
@@ -146,6 +146,8 @@ do_install () {
|
|||||||
|
|
||||||
${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions
|
${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
|
ln -s RevertBastille ${D}${sbindir}/UndoBastille
|
||||||
|
|
||||||
# Create /var/log/Bastille in runtime.
|
# Create /var/log/Bastille in runtime.
|
||||||
|
|||||||
Reference in New Issue
Block a user