Displaying 1 result from an estimated 1 matches for "sess_89765".
2008 Mar 28
1
Deleting file in /tmp directory
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 -f' . ' ' . $session_file);
?>
delete_tmp.php file is owned by gamito.users
/tmp/sess_89765 file has permissions -rw------ and is owned by gamito.users
My /tmp permissions are rwxrwxrwt and is owned by root.root
I know that the the sticky bit only allow...