Friday, May 3, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1917  / 2 Years ago, mon, december 27, 2021, 2:28:01

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.]


How do make the tmp dir executable or specify an alternate path?



I'm running ubuntu 12.10


More From » installation

 Answers
1

Your /tmp folder sounds like it is a separate filesystem mounted with the noexec option.



This is an intentional security measure to prevent the execution of programs written to the /tmp folder, but it's not the default setup of Ubuntu.



The script suggests a workaround - use the --target option to specify a different folder.



e.g.



mkdir ~/tmp # Make a temp folder in your home folder
sudo sh ./Torchlight-2012-09-26.sh --target ~/tmp # Tell the installer to use it
rm -rf ~/tmp # remove it afterwards

[#34404] Tuesday, December 28, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingwhin

Total Points: 332
Total Questions: 112
Total Answers: 115

Location: Burkina Faso
Member since Tue, Apr 26, 2022
2 Years ago
;