summaryrefslogtreecommitdiff
path: root/src/bootstrap.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-09 17:53:55 +0100
committerdavidovski <david@davidovski.xyz>2022-04-09 17:53:55 +0100
commitbc4902d4c702d9beac47e975dd962851a59dace5 (patch)
tree061a347190a57558c299bda389d1f92ec614fb0a /src/bootstrap.sh
parent3c8b781a437e8f2b7721d2afcf4ccf714d382d83 (diff)
fixed broken permisisons for bootstrap
Diffstat (limited to 'src/bootstrap.sh')
-rw-r--r--src/bootstrap.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bootstrap.sh b/src/bootstrap.sh
index 28d5718..02d8434 100644
--- a/src/bootstrap.sh
+++ b/src/bootstrap.sh
@@ -23,6 +23,15 @@ create_directories () {
ln -s usr/lib ${SYSROOT}/usr/lib64
ln -s usr ${SYSROOT}/usr/local
+ chmod 0755 ${SYSROOT}/dev
+ chmod 1777 ${SYSROOT}/tmp
+ chmod 0555 ${SYSROOT}/sys
+ chmod 0555 ${SYSROOT}/proc
+ chmod 0755 ${SYSROOT}/run
+ chmod 0755 ${SYSROOT}/usr
+ chmod 0750 ${SYSROOT}/root
+ chmod 0755 ${SYSROOT}/usr/bin
+ chmod 0755 ${SYSROOT}/usr/lib
}
import_keys () {