Imo 777 is a really bad default value. This can introduce many security problems. At least world should not be able to write here. We should change it to 775.