Commit b6ed77c7e950ff0305b90cc2c884775fc009eaa3
1 parent
8765f92959
Exists in
master
woops
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
scripts/install
... | ... | @@ -56,8 +56,8 @@ do |
56 | 56 | if [[ ! $i == yunohost.* ]]; |
57 | 57 | then |
58 | 58 | sudo setfacl -m g:owncloud:rwx /home/$i |
59 | - mkdir $data_path/$i | |
60 | - echo "{\"user\":{\"$i\":{\"/\$user/files/Home\":{\"class\":\"\\OC\\Files\\Storage\\Local\",\"options\":{\"datadir\":\"/home/$i\"}}}}}" > $data_path/$i/mount.json | |
59 | + sudo mkdir $data_path/$i | |
60 | + echo "{\"user\":{\"$i\":{\"/\$user/files/Home\":{\"class\":\"\\OC\\Files\\Storage\\Local\",\"options\":{\"datadir\":\"/home/$i\"}}}}}" | sudo tee $data_path/$i/mount.json | |
61 | 61 | fi |
62 | 62 | done |
63 | 63 | sudo chown -hR owncloud: $final_path |