Set-Perms-Script caused a Desaster

hosting

#1

Hello,

i followed the recommendations for installing, created the mentioned script, ran it and it ran through my whole server and changed Permissions that it should not change.
https://doc.owncloud.org/server/latest/admin_manual/installation/installation_wizard.html#post-installation-steps-label

What i've made wrong or wat went wrong?
System is Debian-8

This would be very important to me to have a idea how i can restore my server.
I ran the script with user "admin", without sudo.
It seems that it modified the priveleges to all files and directories that are owned by admin.
PhpMyAdmin and TeamPass are dead now. Other Apps (redmine, etc. are working).

A copy of the original Script is attached here by dropbox-link.

Can anyone help me?

many thanks!
Best Regards,
Christian


#2

Looks like you did a mistake while editing the script as you have replaced:


ocpath='/var/www/owncloud'
ocdata='/var/www/owncloud/data'

with:


ocpath=‘/srv/owncloud'
ocdata=‘/srv/owncloud/data'

(Note the difference between ' and ´).


#3

many thanks, tom!

it was late at night :slight_smile:

Best Regards,
Christian