Skip to content

Commit

Permalink
Fixed directory names
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Jun 29, 2023
1 parent 00ff701 commit d30b848
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ fi
if [ "$1" = "login" ]
then
echo "---> Starting the MUNGE Authentication service (munged) ..."
for USER in /home/*;
cd /home
for DIR in */;
USER=$( echo $DIR | sed "s/.$//" )
do (chown -R $USER $USER:$USER || echo "Failed to take ownership of $USER") && (chmod 600 /home/$USER/.ssh/authorized_keys || echo "Couldn't set permissions for .ssh keys for $USER");
done
gosu munge /usr/sbin/munged
Expand Down

0 comments on commit d30b848

Please sign in to comment.