12-15-2010, 03:15 PM #1
PHP scripts outputs files I cannot see even as root
- Member Since
- Dec 15, 2010
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!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By dataskills in forum OS X - Operating SystemReplies: 0Last Post: 12-15-2010, 03:12 PM
By Benji6996 in forum OS X - Apps and GamesReplies: 4Last Post: 03-20-2010, 05:40 PM
By anunes in forum OS X - Operating SystemReplies: 1Last Post: 11-26-2009, 06:19 PM
By ben3001 in forum OS X - Apps and GamesReplies: 3Last Post: 01-02-2008, 05:39 AM
By rypod81 in forum Switcher HangoutReplies: 5Last Post: 07-08-2005, 02:31 PM