View Single Post
  #3   (View Single Post)  
Old 19th August 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Default

Quote:
I have not tested this, but perhaps if you create the Chrootdirectory as root:www, with a chmod(1) of 750, shown as drwxr-x--- in ls(1), this will follow chroot(2) restrictions while permitting php-fpm to access to the directory.
not secure for multiple website.
i think we are in jail.

but i find better solution for this shortage. i set ChrootDirectory to /var/www
i think is better if no exists any security problem in later.
Reply With Quote