Made a mistake while installing the shared library path while attempting to install CUDA as follows
export LD_LIBRARY_PATH=$PATH:/usr/local/cuda/lib
The result of course is that
LD_LIBRARY_PATH points to PATH
/usr/local/cuda/lib is now added as a normal path(not specifically shared library)
This got me to thinking… What are the consequences of this?
Considering paths for shared libraries and the regular paths, I wonder if there is any kind of security issue when an app or User is looking for a shared library and is given access to the regular path(aren’t regular paths already accessible?)
What might be the consequence of giving any app or User access to a shared libary when I think when properly configured the shared library path is accessible only by specific apps? In the case of the CUDA shared library I assume hardly anything that’s not CUDA could utilize the code.