Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

After v-rebuild-user permissions are set to inaccessible

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
juslintek
Posts: 10
Joined: Mon Jun 20, 2016 5:55 pm

After v-rebuild-user permissions are set to inaccessible
  • Quote

Post by juslintek » Sun Sep 24, 2017 11:29 am

Hi, I've noticed that after I've run yum upgrade and then v-rebuild-user.

OS:

Code: Select all

CentOS Linux release 7.4.1708 (Core)
Setup config:

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
User directories are no longer accessible and I know why:
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
So now I have to run

Code: Select all

sudo chmod 755 /home/admin/; sudo chmod 755 /home/admin/web/; find /home/admin/web/ -type d -exec chmod 755 {} \;
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?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password