转 warning: World-writeable config file /etc/my.cnf is ignored

感谢

blackadder

https://forums.cpanel.net/threads/warning-world-writeable-config-file-etc-my-cnf-is-ignored.19098/

fix:

This has been fixed.

Somehow, I do not know how, files such as my.cnf, exim.conf and my SSH directory were all CHMOD 777.

After the SSH directory and files were set back to 600, I could log in and CHMOD my.cnf and exim.conf back to 600 and bingo, I now have email again and I do not receive the error about my.cnf.

All I remember doing is upgrading WHM/cPanel, then the problems started, no idea how these files got the wrong CHMOD values.

By the way allenhui, what lines are missing from my.cnf? I would like to have that file properly configured. :)
 
 
 
chmod 660  /home/oracle11g/.my.cnf
原文地址:https://www.cnblogs.com/feiyun8616/p/13948748.html