Change the path of install.log when installing cuda toolkit

I want to install cuda toolkit only without root. (I cannot access the root.)
When run:


I get:

Log file not open.
Segmentation fault (core dumped)

as the default log file path /tmp/cuda-installer.log was created by another user and I cannot edit it.
How can I change the path of log file cuda-installer.log when install cuda toolkit?
I tried command --tmpdir but it didn’t help.

You will have to remove log file in /tmp. You should ask the other user to delete it.