diff options
-rwxr-xr-x | user-init | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -120,6 +120,12 @@ for user in $USERS; do chmod ug=rw,o= /var/spool/mail/$user fi + # MySQL handling + if [ -f $HOME/.my.cnf ]; then + chown $user: $HOME/.my.cnf + chmod 0600 $HOME/.my.cnf + fi + # Mac dir permissions if [ -d $HOME/$mac ]; then chown -R $user: $HOME/$mac |