opensubscriber
   Find in this group all groups
 
Unknown more information…

l : linux-admin@vger.kernel.org 29 March 2008 • 1:27AM -0400

Re: Question regardin deleting a file in /tmp directory
by Adam Bowen

REPLY TO AUTHOR
 
REPLY TO GROUP



Hi,

Mário Gamito wrote:
> If I run:
> $ php delete_tmp.php

Is this the CGI or CLI version of php that you are running (php
--version)?  (You can create a standalone version of both, I know, I
have the empty follicles to prove it).  The CGI version has extra
restrictions that may cause weirdness.  As a test I would try doing an
ls of the file before the rm and see what the output of that is.

Cheers

Adam

> as root, it deletes sess_89765 file.
>
> But if I do the same has user gamito, it doesn't delete the file !!!
>
> Ideas ?
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger...
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.