From b6ed77c7e950ff0305b90cc2c884775fc009eaa3 Mon Sep 17 00:00:00 2001 From: Kload Date: Sun, 8 Dec 2013 23:27:02 +0100 Subject: [PATCH] woops --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 88e3a71..2ffa1f7 100755 --- a/scripts/install +++ b/scripts/install @@ -56,8 +56,8 @@ do if [[ ! $i == yunohost.* ]]; then sudo setfacl -m g:owncloud:rwx /home/$i - mkdir $data_path/$i - echo "{\"user\":{\"$i\":{\"/\$user/files/Home\":{\"class\":\"\\OC\\Files\\Storage\\Local\",\"options\":{\"datadir\":\"/home/$i\"}}}}}" > $data_path/$i/mount.json + sudo mkdir $data_path/$i + echo "{\"user\":{\"$i\":{\"/\$user/files/Home\":{\"class\":\"\\OC\\Files\\Storage\\Local\",\"options\":{\"datadir\":\"/home/$i\"}}}}}" | sudo tee $data_path/$i/mount.json fi done sudo chown -hR owncloud: $final_path -- 2.0.0