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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-06-2009, 02:51 PM
|
#1
|
LQ Newbie
Registered: Jul 2009
Posts: 6
Rep:
|
Permission issue???
I install JBoss in /usr/jboss as a root user!!! in RH
now when try to start jboss i always need to log as root user and
I have my eclipse work space in following dir
/home/tstrick/tsgroup/tstrickWorkspace
how can I change permission to start jboss for the user tstrick?
Thanks
TS
|
|
|
07-06-2009, 03:22 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,983
|
Quote:
Originally Posted by ThunderStrick
I install JBoss in /usr/jboss as a root user!!! in RH
now when try to start jboss i always need to log as root user and
I have my eclipse work space in following dir
/home/tstrick/tsgroup/tstrickWorkspace
how can I change permission to start jboss for the user tstrick?
Thanks
TS
|
It does sound like permissions.
A good guide is here:
http://www.freeos.com/articles/3127/
|
|
|
07-06-2009, 03:25 PM
|
#3
|
Member
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85
Rep:
|
If there isn't a config file option for the run user...
Basically it sounds like all the files and folders created from the install are owned by the user, root.
As root, you can do a chown -r [[user name]] [[folder/file]]
chown (change user) -r (recursive, goes through the subfolders as well) [[user name]] tstrick [[folder]] the folder(s) JBoss needs to execute and run.
-or-
chmod a+x [[file]]
chmod (change permissions) a+x (owner, group, others gain executable permission) [[file]] (the file that you need to execute to run)
>What do you think LQo??
Am I correct, would those options work? I'm not sure which is a best practice...
|
|
|
07-06-2009, 08:18 PM
|
#4
|
LQ Newbie
Registered: Jul 2009
Posts: 6
Original Poster
Rep:
|
Dammmmm It work!
what I did as a Solution after reading your respond!
===================
login as a root to
/usr/jboss/
then
chown -r tstrick *
====================
Dammmmm It work!
Thanks
TS
|
|
|
07-06-2009, 11:41 PM
|
#5
|
Member
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85
Rep:
|
Awesome!! ^_^
Though I really hope someone of greater knowledge can confirm what was the "best" way of solving the problem.
I'm also curious to know if running the install as sudo instead of logging in as root produces the same problem? I'm guessing the purpose of sudo is to grant ownership of install to the user but with the power of root?
|
|
|
All times are GMT -5. The time now is 03:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|