[CentOS] Deleting file in /tmp directory

2008-03-28 Thread Mário Gamito
Hi, This is a bit of-topic, but since it has to do with /tmp permissions here it goes. Anyway, I'm sorry in advance for posting this. I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: ?php $session_file = '/tmp/sess_89765' system(''rm

Re: [CentOS] Deleting file in /tmp directory

2008-03-28 Thread Neil Cherry
Mário Gamito wrote: Hi, This is a bit of-topic, but since it has to do with /tmp permissions here it goes. Anyway, I'm sorry in advance for posting this. I have this PHP script (simplificated here), called delete_tmp.php that basically calls external commands: ?php $session_file =

Re: [CentOS] Deleting file in /tmp directory

2008-03-28 Thread Kai Schaetzl
Neil Cherry wrote on Fri, 28 Mar 2008 11:52:06 -0400: PHP, being run from the web interface, he's not running it via web. And he should be getting some error and I expect him to tell us about errors if there are. But he surely *intends* to run it later from the web. Where I don't see much use