Browse Source

Added ee_lib_permissions

old-stable
gau1991 11 years ago
parent
commit
c40c812096
  1. 8
      src/lib/ee_lib_permissions.sh

8
src/lib/ee_lib_permissions.sh

@ -0,0 +1,8 @@
# Set ownership of /var/www/$EE_DOMAIN to www-data:www-data
function ee_lib_permissions()
{
ee_lib_echo "Changing ownership of /var/www/$EE_DOMAIN..."
chown -R $EE_PHP_USER:$EE_PHP_USER /var/www/$EE_DOMAIN/ \
|| ee_lib_error "Unable to change ownership for $EE_DOMAIN, exit status = " $?
}
Loading…
Cancel
Save