summaryrefslogtreecommitdiff
path: root/src/bootstrap.sh
diff options
context:
space:
mode:
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 () {