From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Bowen Subject: Re: Question regardin deleting a file in /tmp directory Date: Fri, 28 Mar 2008 17:27:13 +0000 Message-ID: <47ED2A71.1000308@agitate.org.uk> References: <91df29a20803280823i3f259b7emb6504bd08d6461ac@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig85E76FF206740AC1208CEC69" Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:sender; bh=ldfOK8ko1Oxv4X/0FncPHtKt2rSYMI1LmpNKNuVFrDE=; b=VS87acjb8Gud1EkF1WdwH3X/ItB3/muxY5HcszLL8TElpTc5RBzVFedcqqBTFrLVqnLYFkyOZ7Ix9JusJS/sd+JHTJdlnMA62kVdb7ytlHsBLloz0kd95hREjdROeGs84yBKWrb1nMav9YOOmVPHi4WFbxxGGeiNqqtW1YDFH9Q= In-Reply-To: <91df29a20803280823i3f259b7emb6504bd08d6461ac@mail.gmail.com> Sender: linux-admin-owner@vger.kernel.org List-ID: To: linux-admin@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig85E76FF206740AC1208CEC69 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi, M=E1rio Gamito wrote: > If I run: > $ php delete_tmp.php Is this the CGI or CLI version of php that you are running (php=20 --version)? (You can create a standalone version of both, I know, I=20 have the empty follicles to prove it). The CGI version has extra=20 restrictions that may cause weirdness. As a test I would try doing an=20 ls of the file before the rm and see what the output of that is. Cheers Adam > as root, it deletes sess_89765 file. >=20 > But if I do the same has user gamito, it doesn't delete the file !!! >=20 > Ideas ? >=20 > Any help would be appreciated. >=20 > Warm Regards, > M=E1rio Gamito > -- > To unsubscribe from this list: send the line "unsubscribe linux-admin" = in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --------------enig85E76FF206740AC1208CEC69 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig85E76FF206740AC1208CEC69--