LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HTOP Install in a users home directory. (https://www.linuxquestions.org/questions/linux-newbie-8/htop-install-in-a-users-home-directory-4175424483/)

swamprat 08-28-2012 05:27 PM

HTOP Install in a users home directory.
 
I installed CentOS 6.2, and ran the system update via the Gnome software update function.

I downloaded and installed HTOP using the following commands and did this while I was Root and within my home directory:

wget http://apt.sw.be/redhat/el6/en/i386/...l6.rf.i686.rpm
rpm -i htop-0.9-1.el6.rf.i686.rpm

HTOP works fine but another user can't use it because he doesn't have access to my home directory.

Should this program be moved to some other directory which is accessible to all users of the system and if so what directory should I use.

Thanks

chrism01 08-28-2012 05:43 PM

That sounds odd, but in any case, I'd remove it and re-install as root using yum instead of rpm.
If you must use the repoforge (rf) repo, add it to your yum.repos.d and install the yum-priorities pkg before you do anything.

Renante 08-28-2012 05:59 PM

Quote:

Originally Posted by swamprat (Post 4766856)
I installed CentOS 6.2, and ran the system update via the Gnome software update function.

I downloaded and installed HTOP using the following commands and did this while I was Root and within my home directory:

wget http://apt.sw.be/redhat/el6/en/i386/...l6.rf.i686.rpm
rpm -i htop-0.9-1.el6.rf.i686.rpm

HTOP works fine but another user can't use it because he doesn't have access to my home directory.

Should this program be moved to some other directory which is accessible to all users of the system and if so what directory should I use.

Thanks

you can give him +x on that particular directory (browse) or make a symbolic link (/bin or anywhere you like)

273 08-28-2012 06:08 PM

Quote:

Originally Posted by Renante (Post 4766876)
you can give him +x on that particular directory (browse) or make a symbolic link (/bin or anywhere you like)

You can, but I wonder why this has happened? Something sounds to have gone amiss here.


All times are GMT -5. The time now is 07:03 AM.