Fix permissions of source files