Add xmobar tip
[julm/julm-nix.git] / install
diff --git a/install b/install
index 07783bf5c3632d577d033cbbd2d7af7b13cbaea8..fa3c41c2a276b6c6cc09cbbd0cdb7a28888d44c9 100755 (executable)
--- a/install
+++ b/install
@@ -3,6 +3,7 @@ if test "$(id -u)" != 0
 then sudo "$0" "$@"
 else
   cd "${0%/*}"
+  chmod -R g-rwx,o-rwx "$PWD/private/root"
   ln -sfn "$PWD/private/root" /root/private
   trap 'git reset private/root' EXIT
   git rm -rf --cached --ignore-unmatch private/root # prevent copying to /nix/store