First -- I love this site/server/software package. It's promise of flexibility -- fast upgrades, self upgrading stacks and the speedy nginx is something I hope can continue to be developed for a long time. Continuing with the mysql issue I saw something today I have not seen before using mysql and linux. I am writing some php to monitor affiliate urls that come into the site in order to credit them to the proper affiliate. The code sits in the wordpress root directory in its own directory - but accessed in a wordpress site url... for a few hours I was testing the software and a logger i built was working fine and then needed to setup the mysqli connection to the DB. IN the midst of that, the module I wrote (python is my favorite language) to log debug info stopped working. The error message was that it (php) did not have write access to the file. But it had been working for several hours. so then I wrote another test script which accessed the logger file (include_once) and called it from the browser and it worked but it created the new log txt file as root! Now all of the files in the directory are www-data and so is the parent all with 644 mod.. So when I access the url directly by just typing it in the browser and call a file that accesses the logging function it writes the log file as user root -- But when i access the other file, which calls the logger from a remote link - it will not write the file saying it does not have permission .. How is that happening and is it related to the not being able to the DB except as root ?