Since my SSD is small, I still relegate it to only holding the OS.
So, during Ubuntu install, I created a 60 GB partition for / on my SSD, and a 500 GB partition for /home on my HDD.
However, now I am finding issues such as the one described in this question: Conda update <package>: Permission issues
The accepted answer suggested:
sudo ln ~/anaconda/bin/conda /usr/local/bin/
I had to use a softlink because I was getting an "invalid cross-device link" error if I did not specify the -s for softlink in the command. The following discussion (the very last post) gave me the clue of using a softlink: http://www.linuxquestions.org/questions/linux-newbie-8/invalid-cross-device-link-731268/
sudo ln -s ~/anaconda/bin/conda /usr/local/bin/
Now, I find that I am having an issue that looks superficially similar when using the matlab installer script:
brian@brian-linux:~/matlab-installer$ ls
activate.ini etc installer_input.txt license.txt sys
archives help install_guide.pdf patents.txt trademarks.txt
bin install java readme.txt
brian@brian-linux:~/matlab-installer$ ./install
bash: ./install: Permission denied
brian@brian-linux:~/matlab-installer$ sudo ./install
[sudo] password for brian:
sudo: ./install: command not found
brian@brian-linux:~/matlab-installer$ bash ./install
./install: line 334: /home/brian/matlab-installer/bin/glnxa64/install_unix: Permission denied
brian@brian-linux:~/matlab-installer$ sudo bash ./install
./install: line 334: /home/brian/matlab-installer/bin/glnxa64/install_unix: Permission denied
What is going on, and how can I prevent such issues once and for all in the future?