Results 1 to 3 of 3

Threaded View

  1. #1

    PHP : letting Apache modify FTP uploaded files


    I've been Googling my butt off and still found no satisfactory answer to this, so maybe there's someone here who can help.

    I'm on a shared hosting environment and this can't change as it's a client's site.

    If I upload a file via FTP then Apache/PHP has no rights to rename, unlink etc. I need to find the right command to make Apache/PHP the owner so I can rename etc and then set ownership back to FTP (otherwise it can't be deleted via an FTP client later on).

    Any suggestions as I can't use chown on the shared hosting.

    Last edited by niggles; November 28th, 2008 at 03:04 AM. Reason: typo...

Similar Threads

  1. Installing Apache 1.3 / PHP 4.4
    By FcKgW in forum Other Tutorials Forum
    Replies: 0
    Last Post: April 6th, 2006, 12:17 PM
  2. Securing Free BSD part 4
    By gore in forum The Security Tutorials Forum
    Replies: 0
    Last Post: June 2nd, 2005, 03:05 AM
  3. Apache and PHP security check tool
    By phishphreek in forum Web Security
    Replies: 7
    Last Post: March 8th, 2004, 02:33 AM
  4. The history of the Mac line of Operating systems
    By gore in forum Operating Systems
    Replies: 3
    Last Post: March 7th, 2004, 07:02 AM
  5. Batch File Tut
    By Badassatchu in forum Non-Security Archives
    Replies: 1
    Last Post: November 23rd, 2001, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.