ispconfig3 + mod_php + apache umask

Discussion in 'Installation/Configuration' started by d0nut, Sep 22, 2008.

  1. d0nut

    d0nut New Member

    hey there,

    i am using ispconfig3 beta7 (updated from beta6) on debian4.0 with mod_php.
    when i upload a file it gets 0600 permissions and is owned by the webserver...
    the file can be access via the browser.. everything seems to be ok.
    but some time later a cron changes the whole directory to the ownership of web10:client0...
    and 0600 permissions don't allow the webserver to access this file.

    should my sript do the chmod itself or is it a bug in ispconfig?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The umask of file uploads with PHP is not controlled by ISPConfig. As with any PHP file upload, you will have to set it in the php script.
  3. d0nut

    d0nut New Member

    ok, thanks a lot.. then i found a bug in a open source cms... and will ask the developers to call chmod after the upload.

Share This Page