Fix permissions
This commit is contained in:
parent
6cbf6af44e
commit
e74627bff0
1 changed files with 3 additions and 1 deletions
|
@ -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" <<EOF
|
||||
|
@ -32,4 +33,5 @@ su - "$USER" <<EOF
|
|||
EOF
|
||||
|
||||
mkdir "$USER_HOME/.ssh"
|
||||
chown "$USER" "$USER_HOME/.ssh"
|
||||
chmod 700 "$USER_HOME/.ssh"
|
||||
|
|
Loading…
Reference in a new issue