LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2012, 05:27 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 461

Rep: Reputation: 34
Question 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
 
Old 08-28-2012, 05:43 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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.
 
Old 08-28-2012, 05:59 PM   #3
Renante
LQ Newbie
 
Registered: Aug 2012
Location: Ottawa ON, Canada
Distribution: Red Hat Enterprise Linux 6.3 Server
Posts: 13

Rep: Reputation: 2
Quote:
Originally Posted by swamprat View Post
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)
 
Old 08-28-2012, 06:08 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,612

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
Quote:
Originally Posted by Renante View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users Home Directory rahmad Linux - Server 7 07-31-2008 02:24 AM
Keeping Users in their Home Directory bluefusionx Linux - Software 3 09-15-2006 05:42 PM
Migrate Users and Home directory from RH 7.x to AS adjovi Red Hat 1 08-27-2006 07:59 AM
Users can only see home directory bluenix Linux - General 20 03-12-2005 08:51 AM
multi users on the same home directory rpinatel Linux - General 4 09-05-2003 10:22 AM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration