fix root permissions to update npm
log file for large process