Commit 2278f5fba443163e344f88425efc6c0dcd7dbb8e
1 parent
69831d7041
Exists in
master
Update install
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
scripts/install
... | ... | @@ -45,6 +45,8 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/owncloud.conf |
45 | 45 | sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/owncloud.conf |
46 | 46 | sudo cp ../conf/php-fpm.ini /etc/php5/fpm/conf.d/20-owncloud.ini |
47 | 47 | sudo cp ../conf/mount.json $data_path |
48 | +sudo chown -hR owncloud:www-data $final_path $data_path | |
49 | +sudo chmod -R 775 $final_path $data_path | |
48 | 50 | |
49 | 51 | # Change variables in Owncloud configuration |
50 | 52 | sudo sed -i "s@PATHTOCHANGE@$path@g" /etc/nginx/conf.d/$domain.d/owncloud.conf |