LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 07-06-2009, 03:51 PM   #1
ThunderStrick
LQ Newbie
 
Registered: Jul 2009
Posts: 6
Thanked: 0
Question Permission issue???


[Log in to get rid of this advertisement]
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
ThunderStrick is offline  
Tag This Post
Reply With Quote
Old 07-06-2009, 04:22 PM   #2
frankbell
Member
 
Registered: Jan 2006
Location: Virginia
Distribution: Slackware, Ubuntu
Posts: 115
Thanked: 6
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/
frankbell is offline     Reply With Quote
Old 07-06-2009, 04:25 PM   #3
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, openSuSE 11.0, Ubuntu 9.04
Posts: 69
Thanked: 4
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...
ECRocker is offline     Reply With Quote
Thanked by:
Old 07-06-2009, 09:18 PM   #4
ThunderStrick
LQ Newbie
 
Registered: Jul 2009
Posts: 6
Thanked: 0

Original Poster
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
ThunderStrick is offline     Reply With Quote
Old 07-07-2009, 12:41 AM   #5
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, openSuSE 11.0, Ubuntu 9.04
Posts: 69
Thanked: 4
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?
ECRocker is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration