I've set up a Debain 10 system with Nginx and PHP 7.4 FPM. I have configured a separate FPM pool for Froxlor using svc-froxlor as username and group for the pool. I added www-data to the svc-froxlor group.
Froxlor is installed from the latest release tarball to /var/www/froxlor and all file permissions to same user and group as used or the FPM pool and removed read access from other:
As I want to manage the virtual host and the FPM pool outside of Froxlor and have Froxlor only handle anything configured within Froxlor, I did not activate the corresponding settings in the Froxlor configuration. In the web server settings the username and group are set to www-data.
Whenever the cron job is executed, the file owner and group for /var/www/froxlor and all sub directories are reset to www-data and Froxlor stops working. When I fix the owner and group for /var/www/froxlor, Froxlor is working again.
Is it the intended behavior that the file permissions are reset by Froxlor? I'd argue that Froxlor should not handle its own installation.
Question
zumbuschk
Hi,
I've set up a Debain 10 system with Nginx and PHP 7.4 FPM. I have configured a separate FPM pool for Froxlor using svc-froxlor as username and group for the pool. I added www-data to the svc-froxlor group.
Froxlor is installed from the latest release tarball to /var/www/froxlor and all file permissions to same user and group as used or the FPM pool and removed read access from other:
chown -R svc-froxlor.svc-froxlr /var/www/froxlor chmod -R u=rwX,g=rX,o= /var/www/froxlor
As I want to manage the virtual host and the FPM pool outside of Froxlor and have Froxlor only handle anything configured within Froxlor, I did not activate the corresponding settings in the Froxlor configuration. In the web server settings the username and group are set to www-data.
Whenever the cron job is executed, the file owner and group for /var/www/froxlor and all sub directories are reset to www-data and Froxlor stops working. When I fix the owner and group for /var/www/froxlor, Froxlor is working again.
Is it the intended behavior that the file permissions are reset by Froxlor? I'd argue that Froxlor should not handle its own installation.
With kind regards
Kay Zumbusch
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now