Fixed default.json location bug.
Updated permission of www folder.