file ownership questions#713
|
|
I’m quoting some text from the thread at http://studios.thoughtworks.com/discussion/forums/4/topics/302—which focuses on file permissions, but what is unanswered for me in the documentation (and I believe what is the cause of some serious problems with our original install of mingle and my attempts to reinstall) is the owner:group settings for the files. David Rice wrote:
There are some issues/questions this brings up about ownership. I am coming from the standpoint of someone who has only just begun to learn Linux server admin (and teaching myself by means of Googling madly to try to find out what I need to know, not the best way to go about it I guess) ... and who is dealing with a server (CentOS 5.2) that is set up to be admin’d via WHM and CPanel. So if anything sounds “wrong” here it is because I’m a beginner and/or a CPanel server is not necessarily the same in all regards as a straight CentOS box … OK. So if one wants to run mingle from a domain name set up on the server, everything within that domain has the owner:group of the domain owner. What the above instructions do not touch on is this important question. Here are the issues (with numbers to make it easier to respond … I truly do not like Beast, I hate bloatware but this is ridiculously bare bones IMHO) ISSUE 1: When installing Mingle into a directory owned by a user on the server, does one install while logged in as root or as that user? If I install when logged in as root, root ends up being the owner of the files installed. Permissions look OK but … ISSUE 2: am I right in thinking root should not own the mingle files? I’m thinking the installation should be done while logged in as the domain owner. Yes? ISSUE 3: which account should be used to run the ./MingleServer start|stop|status commands? And now another quote from the above-referenced thread. WPC wrote:
When I install as the domain owner, the above files end up being owned by that account. When I install with a root login, the .install4j files end up being owned by root. So … what log-in am I supposed to use to install???? I guess this is a repeat but I see that “wpc” is in the “wheel” group which I thought is some kind of system group, not a user at all, yet no matter which way I try to install the .install4j files do NOT end up being owned by a wheel user. Totally confused in NYC, having spent 8 hours today (unsuccessfully) wading through my Swamp Of Ignorance :-) kazar |
