LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-06-2009, 02:51 PM   #1
ThunderStrick
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
Question 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
 
Old 07-06-2009, 03:22 PM   #2
frankbell
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
Blog Entries: 28

Rep: Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368Reputation: 6368
Quote:
Originally Posted by ThunderStrick View Post
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/
 
Old 07-06-2009, 03:25 PM   #3
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
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...
 
Old 07-06-2009, 08:18 PM   #4
ThunderStrick
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Lightbulb 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
 
Old 07-06-2009, 11:41 PM   #5
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
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?
 
  


Reply

Tags
permission


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
VSFTPD permission issue villumanati Linux - Server 2 12-29-2008 06:41 AM
Changing permission issue sungjoo.kim Linux - Newbie 3 11-06-2008 03:19 PM
Permission Issue with Slackware 12.1 savrasbane Linux - Newbie 2 10-30-2008 10:05 PM
File permission issue ZAMO Linux - Security 2 08-20-2008 06:55 AM
issue with permission santasballz Linux - Newbie 7 02-28-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 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
Open Source Consulting | Domain Registration