Changed folder permission to 666.