Re: Question regardin deleting a file in /tmp directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux