Fix: adjust chmod

chmod failed on a hosted environment. Setting it to 0755 may not be the
best solution, but should do it for the moment.

todo: make chmod configurable