Error in lammps file run

I was working as superuser. Using the command sudo su in the beginning.

I don't believe running LAMMPS (or any other program) as root is a good
policy. I'm still guessing its a permission issue, but maybe someone else
can chime in.