diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-03-31 09:31:43 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-31 11:43:46 +0200 |
commit | e8b17c42bbbdd5f3c78819c39d84d0dbd4886bd8 (patch) | |
tree | 99d266003eff9af6bad783f87c0a75fe85943d30 /Kernel/build-root-filesystem.sh | |
parent | d64589101cbe7dcbf4245dc677358ba7e76bcfdd (diff) | |
download | serenity-e8b17c42bbbdd5f3c78819c39d84d0dbd4886bd8.zip |
Base: Change root user home directory from `/` to `/root`
Diffstat (limited to 'Kernel/build-root-filesystem.sh')
-rwxr-xr-x | Kernel/build-root-filesystem.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh index cd1f65f9b1..bf93370936 100755 --- a/Kernel/build-root-filesystem.sh +++ b/Kernel/build-root-filesystem.sh @@ -92,12 +92,15 @@ chown $window_uid:$window_gid mnt/etc/WindowServer/WindowServer.ini echo "done" printf "installing users... " +mkdir -p mnt/root mkdir -p mnt/home/anon mkdir -p mnt/home/nona cp ../ReadMe.md mnt/home/anon/ cp -r ../Libraries/LibJS/Tests mnt/home/anon/js-tests +chmod 700 mnt/root chmod 700 mnt/home/anon chmod 700 mnt/home/nona +chown -R 0:0 mnt/root chown -R 100:100 mnt/home/anon chown -R 200:200 mnt/home/nona echo "done" |