Update permissions for repositories dir.