Quota issue with file-owner.

Discussion in 'General' started by sussox, Feb 3, 2015.

  1. sussox

    sussox New Member

    Im running a ISP-Config 3 on Ubuntu 14.04 setup where with customer web-sites that allow the customer to upload files (via website). However. When the customer uploads a file via the website, the file owner becomes www-data, and not web11(for example). This results in the quota not showing the right numbers. Anyone can think of a fix to this?

    Can files be saved as a different user than apache runs as? If so, can apache still access the file if the user later decides to delete the file via the website?

    Ideas please! :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely you use a wrong php mode. Ensure that you use php mode php-fcgi or php-fpm and that suexec is enabled in the website.
     
    sussox likes this.
  3. sussox

    sussox New Member

    Changed to PHP-FCGI and Enabled SuEXEC on a testtite, this seems to have solved the problem! Thanks!!
     

Share This Page