Fix for lp:1177143
Fixed indentation
Merging MP:208293. Fixing file permissions. lp:1177143