From 3e93246affb2f3ebcb4dec5c7eb65457e36620cf Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Thu, 29 May 2014 11:48:02 +0200 Subject: [PATCH] [fix] closes #4 --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 56da539..7ccde50 100755 --- a/scripts/install +++ b/scripts/install @@ -49,7 +49,8 @@ sudo chown -hR owncloud:www-data $final_path sudo chown -hR owncloud:www-data $data_path sudo chown owncloud:www-data /home/yunohost.app/owncloud sudo chmod 755 /home/yunohost.app -sudo chmod -R 775 $final_path +sudo find $final_path -type f | xargs sudo chmod 664 +sudo find $final_path -type d | xargs sudo chmod 775 sudo chmod -R 770 $data_path # Change variables in Owncloud configuration @@ -108,7 +109,8 @@ mysql -u $db_user -p$db_pwd $db_user < ../conf/ldap_config.sql sudo chown -hR owncloud:owncloud $final_path sudo chown -hR owncloud:owncloud $data_path sudo chmod 755 /home/yunohost.app -sudo chmod -R 775 $final_path +sudo find $final_path -type f | xargs sudo chmod 664 +sudo find $final_path -type d | xargs sudo chmod 775 sudo chmod -R 770 $data_path # Make an LDAP user as admin -- 2.0.0