chrooting in linux

Subject:
After playing with chrooting and trying to put a restricted user in tmp. This meesed up the permission settings tp /tmp. ------------------resolved-------------- It looks like your permissions on /tmp are wrong. They really should be read/write/execute for everyone with the sticky bit set. chmod 1777 /tmp The sticky bit add some restrictions to how other users interact with files not created or owned by them, so there's no reason to worry. If you wish, you may also create a seperate directory owned and writeable by the mysql user and specify that directory in my.cnf to be used instead of the system wide /tmp.
2014-05-27 23:03:55gstlouis