I have a customer who is complaining about mysql problems after i used /scripts/securetmp to secure the /tmp directory on my Cpanel servers. Can someone elaborate on the issue brought up by the customer in the chat session transcript below. Have I caused a problem to our customers who use mysql when I ran /scripts/securetmp?
Thanks
========================
Support : Hi xxxxxx. How can I help you?
Customer : MySQL cannot write to: /tmp/#sql_1b9b_0.MYI
Customer : I looked at /tmp and only root has write privilege,
Customer : I think maybe that particular file is locked, perhaps, also.
Support : Yes. /tmp is sometimes used to compile break in programs by hackers. We have secured it.
Customer : MySQL uses it for temporary tables.
Support : Hmmm. I am not aware that this is an issue with typical mysql usage. I will have to investigate and get back to you on this one. Are you using PHP to create tables or databases or something of that nature?
Customer : MySQL uses an environment variable TMPDIR that points to the particular directory. I am not creating tables. When a query runs, the MySQL program may create a temporary table for its own use. I do use PHP, but I also use other tools that failed as well.
=====================================



LinkBack URL
About LinkBacks
Reply With Quote





