April 30, 201313 yr To enable mysql, i have to do this chown root:root /tmp chmod 1777 /tmp when i restart, mysql service wont run and i have to set folder permission again. how can i do this everytime i restart? afaik, /tmp are ramdrive. thanks.
April 30, 201313 yr To enable mysql, i have to do this chown root:root /tmp chmod 1777 /tmp when i restart, mysql service wont run and i have to set folder permission again. how can i do this everytime i restart? afaik, /tmp are ramdrive. thanks. put those exact same two lines in the /boot/config/go file. (prior to the line than invokes "emhttp") Actually, they just need to be invoked prior to you starting the mysql service. Running them before emhttp is invoked will probably do it. There is a different issue though... On my server, those are the exact owner/group and permissions on /tmp already on the stock unRAID. What on your server is changing them? That is your real issue. Joe L.
May 2, 201313 yr Author To enable mysql, i have to do this chown root:root /tmp chmod 1777 /tmp when i restart, mysql service wont run and i have to set folder permission again. how can i do this everytime i restart? afaik, /tmp are ramdrive. thanks. put those exact same two lines in the /boot/config/go file. (prior to the line than invokes "emhttp") Actually, they just need to be invoked prior to you starting the mysql service. Running them before emhttp is invoked will probably do it. There is a different issue though... On my server, those are the exact owner/group and permissions on /tmp already on the stock unRAID. What on your server is changing them? That is your real issue. Joe L. i see. the best way to solve this is to hunt the process/script that change the permission. any tip on how to do that? is there any log that record changes to folder permission? sorry. im not really expert in linux. thanks.
May 2, 201313 yr To enable mysql, i have to do this chown root:root /tmp chmod 1777 /tmp when i restart, mysql service wont run and i have to set folder permission again. how can i do this everytime i restart? afaik, /tmp are ramdrive. thanks. put those exact same two lines in the /boot/config/go file. (prior to the line than invokes "emhttp") Actually, they just need to be invoked prior to you starting the mysql service. Running them before emhttp is invoked will probably do it. There is a different issue though... On my server, those are the exact owner/group and permissions on /tmp already on the stock unRAID. What on your server is changing them? That is your real issue. Joe L. i see. the best way to solve this is to hunt the process/script that change the permission. any tip on how to do that? is there any log that record changes to folder permission? sorry. im not really expert in linux. thanks. inotifywatch would probably do it. (or disable each of your add-ons in turn, and reboot a couple of times)
May 3, 201313 yr Author inotifywatch would probably do it. (or disable each of your add-ons in turn, and reboot a couple of times) thanks. ill try inotifywatch.
Archived
This topic is now archived and is closed to further replies.