diff --git a/user_commands.bash b/user_commands.bash index 3401367..de1a5a8 100644 --- a/user_commands.bash +++ b/user_commands.bash @@ -23,7 +23,8 @@ EOF cd "$USER_HOME" rm -rf Desktop Documents Downloads Music Pictures Public Templates Videos -mkdir dl docs pics +mkdir -p dl docs pics +chown "$USER" dl docs pics su - "$USER" -c "xdg-user-dirs-update" su - "$USER" <