From 08c2e70befea95c691d1967c766b9517af2aaec9 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Tue, 19 Aug 2014 16:05:10 +0200 Subject: [PATCH] [fix] Support space in filenames, fixes #13 --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 0823589..74e7061 100755 --- a/scripts/install +++ b/scripts/install @@ -49,8 +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 find $final_path -type f | xargs sudo chmod 664 -sudo find $final_path -type d | xargs sudo chmod 775 +sudo find $final_path -type f -print0 | xargs -0 sudo chmod 664 +sudo find $final_path -type d -print0 | xargs -0 sudo chmod 775 sudo chmod -R 770 $data_path # Change variables in Owncloud configuration @@ -109,8 +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 find $final_path -type f | xargs sudo chmod 664 -sudo find $final_path -type d | xargs sudo chmod 775 +sudo find $final_path -type f -print0 | xargs -0 sudo chmod 664 +sudo find $final_path -type d -print0 | xargs -0 sudo chmod 775 sudo chmod -R 770 $data_path # Make an LDAP user as admin -- 2.0.0