1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/humhub_ynh.git synced 2024-09-03 19:26:11 +02:00

Fix permissions

This commit is contained in:
scith 2016-08-22 00:09:13 +02:00
parent 5839fa3e57
commit c2049d74f7
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ version='1.1.0'
sudo cp $app_conf $src_path/protected/config/common.php
# Set permissions to app files
sudo chown -R root: $src_path
sudo chown -R www-data: $src_path
# Cron
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron

View file

@ -25,7 +25,7 @@ app=$YNH_APP_INSTANCE_NAME
sudo cp -a ./cron "/etc/cron.d/${app}"
# Restore permissions to app files
sudo chown -R root: $src_path
sudo chown -R www-data: $src_path
# MySQL
dbname=$app

View file

@ -23,7 +23,7 @@ version='1.1.0'
sudo cp -a humhub-$version/. $src_path
# Set permissions to app files
sudo chown -R root: $src_path
sudo chown -R www-data: $src_path
# Cron
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron