Skip to content
Snippets Groups Projects
Unverified Commit d39e2ba4 authored by nl6720's avatar nl6720
Browse files

Keep /root permissions as 750

The filesystem package installs /root as 750 not 700.

Move chmod from customize_airootfs.sh to build.sh.
parent 0ba88cb2
No related branches found
No related tags found
1 merge request!33Small fixes
......@@ -7,7 +7,6 @@ locale-gen
usermod -s /usr/bin/zsh root
cp -aT /etc/skel/ /root/
chmod 700 /root
# unset the root password
passwd -d root
......
......@@ -131,6 +131,8 @@ make_customize_airootfs() {
-r '/root/customize_airootfs.sh' run
fi
rm "${work_dir}/x86_64/airootfs/root/customize_airootfs.sh"
chmod -f 750 "${work_dir}/x86_64/airootfs/root"
}
# Prepare kernel/initramfs ${install_dir}/boot/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment