I'm trying to install Torchlight from the Humble Indie Bundle 6. The installation file is an sh file.
When I try to run the sh file I get this output.

[ user@pc:~/Desktop$ sudo sh ./Torchlight-2012-09-26.sh
[sudo] password for user:
Current temporary directory (usually /tmp by default) does not seem to be executable!
Please specify an alternative path by using the --target option.]

What command is being executed within the shell script when this error is reported?
–
astexNov 7 '12 at 19:16

are you sure that your script is to be executed by dash (sh) and not by bash?
–
Walter TrossNov 7 '12 at 21:14

I'm new to linux and I don't know what bash is.
–
user106287Nov 7 '12 at 21:45

Since dash is the default shell on Ubuntu for running scripts (while bash is the default interactive shell), it does make sense that the script should be run with dash instead of bash. (For some time now, sh has been a symlink to dash.)
–
Eliah KaganAug 14 '13 at 11:00

Hi and welcome to Ask Ubuntu. When answering a question - please expand an answer explaining what you are about to say, possible consequences, what the commands will do, rollback etc. Thanks.
–
fossfreedom♦Nov 7 '12 at 20:07