Yes, I tried typesetting with the above command, and it works fine. I also tried typesetting from a few student accounts, and those work too. Interestingly, it seems all my issues have all been resolved by setting the correct path. I would like to know more about the usage of the function ioctl( ) and how it could have been generated by the path problem (to further convince myself that all issues are resolved). I'll look into it, and see if I can provide a good explanation as to how exactly that error was generated.
Thanks to all for helping!