Can't configure proper user & group for openSUSE 10.3
Posted: Tue Oct 16, 2007 7:54 pm
The OS is openSUSE 10.3, and mysql is v 5.0.45.22.
ZM is 1.22.3 standard download file
The openSUSE 10.2 RPM will not work.
Initially I got errors about ffmpg [located at /usr/bin/ffmpeg]
and ffmpg libraries [located at /usr/include/ffmpeg]
I'll try adding a softlink when other things get resolved.
This is all being done in root
The user is 'wwwrun'
The group is 'www'
(These are the values the /srv/www/htdocs/zm/* files have after the first make install attempt. Not anything I set up. Could be suse that make that change, and possibly for security reasons.)
I then used ./configure .... --with-webuser=wwwrun and --with-webgroup=www
No errors there. Ran make install
and got the following errors
chown: `apache:apache': invalid user
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[3]: *** [install-data-am] Error 2
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
So I did cat Make* | grep -i "apache" and found it hardcoded in (WEBUSER=apache)
I then edited every occurance of apache in every makefile to be www or wwwrun.
Still get the same error. apache:apache is somehow hardcoded into this and no option setting can change it.
Also wwwrun and www are not in the Linux user/group setups and I can't find documentation on setting apache users other than how someone logs into a webpage. That has no bearing on the zm file owner.
Yea, I can manually go in and change file ownership (but NOT to apache!), but there is
still not instation that is not complete.
ZM is 1.22.3 standard download file
The openSUSE 10.2 RPM will not work.
Initially I got errors about ffmpg [located at /usr/bin/ffmpeg]
and ffmpg libraries [located at /usr/include/ffmpeg]
I'll try adding a softlink when other things get resolved.
This is all being done in root
The user is 'wwwrun'
The group is 'www'
(These are the values the /srv/www/htdocs/zm/* files have after the first make install attempt. Not anything I set up. Could be suse that make that change, and possibly for security reasons.)
I then used ./configure .... --with-webuser=wwwrun and --with-webgroup=www
No errors there. Ran make install
and got the following errors
chown: `apache:apache': invalid user
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[3]: *** [install-data-am] Error 2
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
So I did cat Make* | grep -i "apache" and found it hardcoded in (WEBUSER=apache)
I then edited every occurance of apache in every makefile to be www or wwwrun.
Still get the same error. apache:apache is somehow hardcoded into this and no option setting can change it.
Also wwwrun and www are not in the Linux user/group setups and I can't find documentation on setting apache users other than how someone logs into a webpage. That has no bearing on the zm file owner.
Yea, I can manually go in and change file ownership (but NOT to apache!), but there is
still not instation that is not complete.