Re: Question regardin deleting a file in /tmp directory

Adam Bowen <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
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 [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7Sp5fNJVASeK9ugRAhKOAJ4rxPvtqA3I2N2mSXiBkPDEpH5KyQCfc+dz
OVPFgcfhkoPsTbsq1Y5bp9s=
=b5Ib
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.