Skip to content

Commit

Permalink
Security fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteDasher committed Dec 23, 2020
1 parent 9a2dca7 commit 930d9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homemgr
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ temp_GRS="$(id -n -G $_USERNAME | tr " " "\n" | sed "/$temp_GID_W/ d" | tr "\n"
if [ "$DO_SETUP" == 1 ]; then
if [ -d /etc/skel ]; then cp -r /etc/skel/. /home/$_USERNAME/; fi
chown -R ${temp_UID}:${temp_GID} /home/$_USERNAME
chmod 700 /home/$_USERNAME
fi
cat <<EOF > /home/$_USERNAME/.homedata
H_NAME=$_USERNAME
Expand Down

0 comments on commit 930d9e7

Please sign in to comment.