From a0cc76fabe474558759bd83272273972fd4b2d5a Mon Sep 17 00:00:00 2001 From: kahenteikou Date: Mon, 20 Dec 2021 22:50:40 +0900 Subject: [PATCH] restorecon --- channels/share/airootfs/root/customize_airootfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/share/airootfs/root/customize_airootfs.sh b/channels/share/airootfs/root/customize_airootfs.sh index 8ed92ce..38b12cc 100755 --- a/channels/share/airootfs/root/customize_airootfs.sh +++ b/channels/share/airootfs/root/customize_airootfs.sh @@ -114,7 +114,7 @@ chmod 755 "/etc/profile.d/alias_systemctl_setup.sh" # Chnage sudoers permission chmod 750 -R /etc/sudoers.d/ chown root:root -R /etc/sudoers.d/ - +restorecon -R /etc/sudoers.d/ echo "LANG=${localegen}" > "/etc/locale.conf" truncate -s 0 /etc/machine-id passwd -u -f root @@ -145,3 +145,4 @@ EOF echo -e "\ngrubby --update-kernel=ALL --args=\"quiet splash\"" >> /usr/share/calamares/final-process fi echo "universal_hooks=true" >> "/etc/dnf/dnf.conf" +restorecon -R /home/%USERNAME% \ No newline at end of file