I have a cronjob running as root that compiles a java program and moves it into my document root where i have the ability to download it using php, trouble is apache wont even allow read access to the compiled program no matter what owner/group/permissions i give it.
-rwxrwxrwx 1 root root 3422 Jan 5 12:24 jim_HgHDJQDJQWIDIJQWIDUQIU928121818.class
But when i check using php the results are as so ;/
Name: jim_HgHDJQDJQWIDIJQWIDUQIU928121818 Size: - Permission: u--------- Owner/Group: /
Create time: 1970-01-01 00:00:00 Access time: 1970-01-01 00:00:00 Modify time: 1970-01-01 00:00:00
I am running centos 5.8 with apache & openjdk 7 installed.
Any help is appreciated.