summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-09 21:56:54 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-09 21:57:52 +0100
commit66b0002acbedea9ecbb36917e1c4525524ed3840 (patch)
tree2a678fbffb0d7bda70ab0adb5d9cfd6067782cb7
parent41d5f5c3b5f537e1f3c9aa1c3d6220952ba611c4 (diff)
downloadserenity-66b0002acbedea9ecbb36917e1c4525524ed3840.zip
Base: Let's make home directories 700 to keep things private :^)
-rwxr-xr-xKernel/build-root-filesystem.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh
index cbc5525466..e799a68a70 100755
--- a/Kernel/build-root-filesystem.sh
+++ b/Kernel/build-root-filesystem.sh
@@ -87,6 +87,8 @@ printf "installing users... "
mkdir -p mnt/home/anon
mkdir -p mnt/home/nona
cp ../ReadMe.md mnt/home/anon/
+chmod 700 mnt/home/anon
+chmod 700 mnt/home/nona
chown -R 100:100 mnt/home/anon
chown -R 200:200 mnt/home/nona
echo "done"