Browse Source

Fix Chnage Ownership

old-stable
Mitesh Shah 12 years ago
parent
commit
7c7157419f
  1. 9
      setup/engine

9
setup/engine

@ -646,6 +646,9 @@ then
# Activate W3 Total Cache
wp plugin activate w3-total-cache OwnError "Unable To Activate W3 Total Cache Plugin"
# Call WEBUSERINFO Function For Web User Details
WEBUSERINFO
# Give Ownership To $NGINXUSER
chown -R $NGINXUSER:$NGINXUSER /var/www/$DOMAIN/
@ -726,6 +729,9 @@ then
# Make Blogs.Dir
mkdir /var/www/$DOMAIN/htdocs/wp-content/blogs.dir
# Call WEBUSERINFO Function For Web User Details
WEBUSERINFO
# Give Ownership To WEBUSER
chown -R $NGINXUSER:$NGINXUSER /var/www/$DOMAIN/htdocs/wp-content/blogs.dir
@ -835,6 +841,9 @@ then
# Make Blogs.Dir
mkdir /var/www/$DOMAIN/htdocs/wp-content/blogs.dir
# Call WEBUSERINFO Function For Web User Details
WEBUSERINFO
# Give Ownership To WEBUSER
chown -R $NGINXUSER:$NGINXUSER /var/www/$DOMAIN/htdocs/wp-content/blogs.dir

Loading…
Cancel
Save