Wrong way to do it. /usr/local/src should be owned by root and have read and execute access for normal users. I'd
chown it back to root.
Next time log in as root
Change directory with
cd and then untar it to /usr/local/src if you want it there.
If you're building an app from source code, it doesn't necessarily have to be put in the /usr/local/src directory. I typically just build in /home/myusername/build. When building from source with a typical
./configure,
make, and
make install tarball, ./configure and make are generally run as normal user, with
make install run as root by necessity.
Best practice is to try to locate a decent rpm or search the existing repositories first, of course. Some folks advise building an rpm rather than installing through the normal configure/make/make install triad.