Error on make install uid www?

Following is what I’m getting, I’m wondering where it is picking up the www
at and why.

chown -R root //opt/rt3/share/html
//opt/rt3/local/html
chgrp -R bin //opt/rt3/share/html
//opt/rt3/local/html

Make the web ui’s data dir writable

chmod 0770 //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown -R www //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown: unknown user id www
make: *** [fixperms] Error 2

It’s a default in the install process.

If you don’t have a user named www, the process will die at that point and
your install will fail. I have faced this one several times since I tend
to call mey web user eithre apache or httpd. The assumption is linux
specific I think, although I don’t recall whether the documentation
mentions this requirement.

In the top level Makefile you need to set WEB_USER to be the user that
your web server will run as (and this user must exist)

Cheers,

AlOn Wed, 30 Jul 2003, Sullivan, Robert (HQP) wrote:

Date: Wed, 30 Jul 2003 11:21:45 -0700
From: “Sullivan, Robert (HQP)” Robert.Sullivan@rhi.com
To: rt-users@lists.fsck.com
Subject: [rt-users] error on make install uid www??

Following is what I’m getting, I’m wondering where it is picking up the www
at and why.

chown -R root //opt/rt3/share/html
//opt/rt3/local/html
chgrp -R bin //opt/rt3/share/html
//opt/rt3/local/html

Make the web ui’s data dir writable

chmod 0770 //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown -R www //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown: unknown user id www
make: *** [fixperms] Error 2

It’s a default in the install process.

If you don’t have a user named www, the process will die at that point and
your install will fail. I have faced this one several times since I tend
to call mey web user eithre apache or httpd. The assumption is linux
specific I think, although I don’t recall whether the documentation
mentions this requirement.

At some point, we need to pick a default. It’s our intent that the
defaults should be correct for as many people as possible. :wink:

In the top level Makefile you need to set WEB_USER to be the user that
your web server will run as (and this user must exist)

You don’t want to alter the makefile by hand. Instead, instruct the
configure script to use the correct web user with --with-web-user=
and --with-web-group=

Cheers,

Al

Date: Wed, 30 Jul 2003 11:21:45 -0700
From: “Sullivan, Robert (HQP)” Robert.Sullivan@rhi.com
To: rt-users@lists.fsck.com
Subject: [rt-users] error on make install uid www??

Following is what I’m getting, I’m wondering where it is picking up the www
at and why.

chown -R root //opt/rt3/share/html
//opt/rt3/local/html
chgrp -R bin //opt/rt3/share/html
//opt/rt3/local/html

Make the web ui’s data dir writable

chmod 0770 //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown -R www //opt/rt3/var/mason_data
//opt/rt3/var/session_data
chown: unknown user id www
make: *** [fixperms] Error 2


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

In the top level Makefile you need to set WEB_USER to be the user that
your web server will run as (and this user must exist)

That’s a bit drastic considering you can just do:

./configure
–with-db-rt-user=rt_user
–with-db-rt-pass=rtpass
–with-web-user=nobody
–with-web-group=nobody

Date: Wed, 30 Jul 2003 12:02:40 -0700
From: matthew zeier mrz@intelenet.net
To: ahorn@deorth.org, “Sullivan, Robert (HQP)” Robert.Sullivan@rhi.com
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] error on make install uid www??

In the top level Makefile you need to set WEB_USER to be the user that
your web server will run as (and this user must exist)

That’s a bit drastic considering you can just do:

./configure
–with-db-rt-user=rt_user
–with-db-rt-pass=rtpass
–with-web-user=nobody
–with-web-group=nobody

I fixed it after the fact. Your way is most certainly better.

Both will get the job done of course :slight_smile:

Date: Wed, 30 Jul 2003 15:00:03 -0400
From: Jesse Vincent jesse@bestpractical.com
To: ahorn@deorth.org
Cc: “Sullivan, Robert (HQP)” Robert.Sullivan@rhi.com,
rt-users@lists.fsck.com
Subject: Re: [rt-users] error on make install uid www??

It’s a default in the install process.

If you don’t have a user named www, the process will die at that point and
your install will fail. I have faced this one several times since I tend
to call mey web user eithre apache or httpd. The assumption is linux
specific I think, although I don’t recall whether the documentation
mentions this requirement.

At some point, we need to pick a default. It’s our intent that the
defaults should be correct for as many people as possible. :wink:

Very true. Do the docs mention that this particular user not existing will
cause the install process to fail yet appear to succeed (stops before
creating database stuff) ? If not it may be a good enhancement… Sorry if
this is already in there, I haven’t looked in a while.

You don’t want to alter the makefile by hand.
Instead, instruct the
configure script to use the correct web user with --with-web-user=
and --with-web-group=

This is of course the correct way. Mine was just a quick hack to get
something working.

Cheers,

Al