All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Bowen <adamb@agitate.org.uk>
To: linux-admin@vger.kernel.org
Subject: Re: Question regardin deleting a file in /tmp directory
Date: Fri, 28 Mar 2008 17:27:13 +0000	[thread overview]
Message-ID: <47ED2A71.1000308@agitate.org.uk> (raw)
In-Reply-To: <91df29a20803280823i3f259b7emb6504bd08d6461ac@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

      parent reply	other threads:[~2008-03-28 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 15:23 Question regardin deleting a file in /tmp directory Mário Gamito
2008-03-28 15:51 ` Jose Celestino
2008-03-28 17:27 ` Adam Bowen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47ED2A71.1000308@agitate.org.uk \
    --to=adamb@agitate.org.uk \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.