I just installed Ubuntu 20.04 on a system and downloaded the latest community build of Anaconda (2020.07). I got a permission error while installing.
...
Anaconda3 will now be installed into this location:
/home/laytonjb/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/laytonjb/anaconda3] >>>
PREFIX=/home/laytonjb/anaconda3
Unpacking payload ...
Anaconda3-2020.07-Linux-x86_64.sh: 409: /home/laytonjb/anaconda3/conda.exe: Permission denied
I checked the permissions on the directory anaconda3
$ ls -asltar
total 112
...
4 drwxrwxr-x 2 laytonjb laytonjb 4096 Nov 12 11:12 anaconda3
I also check the permissions on conda.exe:
$ ls -lstar anaconda3/
total 14464
4 drwxr-xr-x 17 laytonjb laytonjb 4096 Nov 12 11:12 ..
4 drwxrwxr-x 2 laytonjb laytonjb 4096 Nov 12 11:12 .
14456 -rwxrwxr-x 1 laytonjb laytonjb 14802312 Nov 12 11:12 conda.exe
I've never had a problem installing Anaconda so I'm surprised this happened. Any suggestions?