Hello Josue,
your problem is definitely a "permission error" .
Possibility:
I guess your installation software is under /root/MEDIA_SAP and this would be better to lie on a local filesystem (not network fs). It's better to provide 777 (full right) under installation software folders.
You should focus on the logfile again.
Regards.
Serhat