Fix file and direcotry permissions of web projects.