From e74627bff0dd2b92585d502ea7b413ca24439cb2 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Sun, 17 Nov 2024 15:26:28 +0500 Subject: [PATCH] Fix permissions --- user_commands.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" <