Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Operating System (http://www.mac-forums.com/forums/os-x-operating-system/)
-   -   PHP scripts outputs files I cannot see even as root (http://www.mac-forums.com/forums/os-x-operating-system/223280-php-scripts-outputs-files-i-cannot-see-even-root.html)

dataskills 12-15-2010 03:15 PM

PHP scripts outputs files I cannot see even as root
 
I have a cron job registered that runs a PHP script that in turn outputs a log file each time it is run. When I log in as root (via ssh) I go to the log files directory and there is nothing. Then I made a PHP script to list files in the directory, and there they are! Apparently PHP can read and write them where root can't even see them. I'm stumped, any ideas?

Additional info: if I run the PHP script that cron is running as root, it outputs a log file that I CAN see.

Thanks in advance!


All times are GMT -4. The time now is 06:21 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.