|
142 | 142 | cp -rf $HESTIA/install/deb/templates/web/unassigned/* /var/www/html/ |
143 | 143 | cp -rf $HESTIA/install/deb/templates/web/skel/document_errors/* /var/www/document_errors/ |
144 | 144 | chmod 644 /var/www/html/* |
145 | | -chmod 751 /var/www/html/css |
146 | | -chmod 751 /var/www/html/js |
147 | | -chmod 751 /var/www/html/webfonts |
148 | 145 | chmod 644 /var/www/document_errors/* |
149 | | -chmod 751 /var/www/document_errors/css |
150 | | -chmod 751 /var/www/document_errors/js |
151 | | -chmod 751 /var/www/document_errors/webfonts |
152 | | - |
153 | | -# Correct permissions on CSS, JavaScript, and Font dependencies for default templates |
154 | | -chmod 751 $HESTIA/data/templates/web/skel/document_errors/css |
155 | | -chmod 751 $HESTIA/data/templates/web/skel/document_errors/js |
156 | | -chmod 751 $HESTIA/data/templates/web/skel/document_errors/webfonts |
157 | | -chmod 751 $HESTIA/data/templates/web/skel/public_*html/css |
158 | | -chmod 751 $HESTIA/data/templates/web/skel/public_*html/js |
159 | | -chmod 751 $HESTIA/data/templates/web/skel/public_*html/webfonts |
160 | | -chmod 751 $HESTIA/data/templates/web/suspend/css |
161 | | -chmod 751 $HESTIA/data/templates/web/suspend/js |
162 | | -chmod 751 $HESTIA/data/templates/web/suspend/webfonts |
163 | | -chmod 751 $HESTIA/data/templates/web/unassigned/css |
164 | | -chmod 751 $HESTIA/data/templates/web/unassigned/js |
165 | | -chmod 751 $HESTIA/data/templates/web/unassigned/webfonts |
166 | 146 |
|
167 | 147 | # Correct other permissions |
168 | 148 | if [ -d "/var/cache/bind" ]; then |
|
0 commit comments