Results 1 to 3 of 3

Thread: www-data irresponsible owner ?

  1. #1
    Join Date
    Sep 2006
    Location
    Spartanburg , SC
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    www-data irresponsible owner ?

    I have a php file which is used to upload files. These files are then to be processed by a servlet. However, the uploaded files are owned by "www-data" and the servlet can't touch them. Is there anyway I can make it so that any uploaded file is owned by anyone other than "www-data".

    SuperHeavy

  2. #2
    Join Date
    Jan 2006
    Location
    Örebro, Sweden
    Beans
    491

    Re: www-data irresponsible owner ?

    You would have to run Apache as another user than the default www-data. Or, possibly, have a cron script or something similar that changes ownership and permissions on all needed files regularly.

  3. #3
    Join Date
    Sep 2006
    Location
    Spartanburg , SC
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: www-data irresponsible owner ?

    Thank you very much for your response.

Tags for this Thread

Bookmarks

Posting Permissions

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