Jump to content
Froxlor Forum
  • 0
MeinerEiner

PHP upload_tmp_dir permission error: Apache PHP-FPM activated => php tempdir wrong owner for customers

Question

Hello,

today I got from a customer a call he cannot Upload files in Wordpress. After a little search I saw if you create a new customer an a php tmp dir was created, the owner of the temp folder is froxlorlocal and not the new created user. So you cannot upload things via php. Is this a bug or do I still missed a setting?

Environment:

Debian Buster

apache with PHP 7.3 with PHP-FPM

Froxlor 0.10.11

 

Kind regards

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Unable to reproduce, each folder within /var/customers/tmp/ (default setting) is owned by the corresponding customer user. Also, the value for each user is specified in the fpm-pool-config for each domain, so please ceck the pool config for the affected website.

Also, the cron uses the guid value of the customer to chown the directory, maybe there is a mix up and the local user (froxlorlocal) has the same uid/gid as one of the froxlor (database) users?

Share this post


Link to post
Share on other sites
  • 0

Strange things happend. With current version 0.10.11 it is working without changes. I created that customer with 0.9.x and migrate to 0.10.x so something must happend before. But now it is working thanks alot.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...