Permissions on web/ also have to be fixed before installing + added a sudo just before xargs when using chmod only (method 5.D)