Set lychee permissions
This commit is contained in:
parent
6090d6c84c
commit
f45f281dd4
|
@ -408,6 +408,12 @@ function install_lychee {
|
|||
chmod -R 777 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/data/
|
||||
chown -R www-data:www-data /var/www/$LYCHEE_DOMAIN_NAME/htdocs
|
||||
|
||||
chmod 755 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/uploads/big/index.html
|
||||
chmod 755 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/uploads/medium/index.html
|
||||
chmod 755 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/uploads/import/index.html
|
||||
chmod 755 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/uploads/thumb/index.html
|
||||
chmod 755 /var/www/$LYCHEE_DOMAIN_NAME/htdocs/data/.gitignore
|
||||
|
||||
function_check nginx_ensite
|
||||
nginx_ensite $LYCHEE_DOMAIN_NAME
|
||||
|
||||
|
|
Loading…
Reference in New Issue