After v-rebuild-user permissions are set to inaccessible
Posted: Sun Sep 24, 2017 11:29 am
Hi, I've noticed that after I've run yum upgrade and then v-rebuild-user.
OS:
Setup config:
User directories are no longer accessible and I know why:
Because user web directory path permission are set like that:
So now I have to run Or maybe there is a way to change server configurations, to make php-fpm socket or tcp:port connection to work with default VestaCP user path permissions?
OS:
Code: Select all
CentOS Linux release 7.4.1708 (Core)
Code: Select all
bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --mysql yes --postgresql no
Because user web directory path permission are set like that:
Code: Select all
751 /home/admin
751 /home/admin/web
551 /home/admin/web/domain.com
751 /home/admin/web/domain.com/public_html
751 /home/admin/web/domain.com/public_shtml
751 /home/admin/web/domain.com/private
Code: Select all
sudo chmod 755 /home/admin/; sudo chmod 755 /home/admin/web/; find /home/admin/web/ -type d -exec chmod 755 {} \;