Specifically, I am using conda
command part of Miniconda distribution. It happens that the installer put files in /root/miniconda3/
.
The problem is that /root/miniconda3/bin
is in path, but the command conda
can only be run by root, not other sudoer.
I tried to set rights to 777
(I know this is bad since it contains compiler and stuff, and it's under root, but this is only for test environment).
Note: I own the root and the sudoer.
/root
is by definition only accessible by root by default, and usingsudo
you become "root" (sort of). What is your doubt here? – Rui F Ribeiro Feb 25 '18 at 12:24sudo conda
returnssudo: conda: command not found
whil switching to SU mode it does run. – Curcuma_ Feb 25 '18 at 12:30