i found something ugly about freeBSD

Chuck Swiger cswiger at mac.com
Thu Jan 29 18:47:27 PST 2004


zzerver at hotmail.com wrote:
> Am probably wrong i hope.... but mysqld creates a file call /tmp/mysql.sock
> but this file got to be 777??? ...i loging with a other useran call a rm
> /ytmp/mysql.sock and mysql stop working ...O_o ..but then i did this ...

Your mysql configuration isn't very secure.
(Or: "<grunt affirmative> your setting bad", if that's easier.)

Try setting a umask of 022 for the owner of your mysql process, or else adjust 
mysql's configuration.  You'll probably get more help from a mysql website or 
mailing list.

-- 
-Chuck



More information about the freebsd-questions mailing list