Bug 65296

Summary: build/install from source, ownership/permissions of serveral files not set to root:root
Product: Apache httpd-2 Reporter: Jason Byrne <slvr32>
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.46   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Jason Byrne 2021-05-08 22:13:44 UTC
Building/installing Apache from source, the ownership of several files are not set to root:root, and instead (still) have the ownership of the user building the source.

I'm not sure if certain combinations of options in a configure contribute to this issue, but here's my build, for example...

(As user 'jbyrne')
 
$ bzip2 -dc httpd-2.4.46.tar.bz2 | tar xvf -
$ cd httpd-2.4.46
$ ./configure --prefix=/inst/pkg-ver/`basename $PWD` --enable-rewrite --enable-so --enable-suexec --with-suexec-bin=/inst/pkg/httpd/bin/suexec --with-suexec-caller=nobody --with-suexec-docroot=/home --with-suexec-userdir=htdocs --with-suexec-uidmin=500 --with-suexec-gidmin=500 --with-ssl --enable-ssl

$ make
$ su
# make install

# cd /inst/pkg-ver
# find httpd-2.4.46 -user jbyrne
httpd-2.4.46/modules/httpd.exp
httpd-2.4.46/bin/apxs
httpd-2.4.46/bin/dbmmanage
httpd-2.4.46/bin/apachectl
httpd-2.4.46/bin/envvars-std
httpd-2.4.46/bin/envvars
httpd-2.4.46/error/HTTP_BAD_GATEWAY.html.var
httpd-2.4.46/error/HTTP_BAD_REQUEST.html.var
httpd-2.4.46/error/HTTP_FORBIDDEN.html.var
httpd-2.4.46/error/HTTP_GONE.html.var
httpd-2.4.46/error/HTTP_INTERNAL_SERVER_ERROR.html.var
httpd-2.4.46/error/HTTP_LENGTH_REQUIRED.html.var
httpd-2.4.46/error/HTTP_METHOD_NOT_ALLOWED.html.var
httpd-2.4.46/error/HTTP_NOT_FOUND.html.var
httpd-2.4.46/error/HTTP_NOT_IMPLEMENTED.html.var
httpd-2.4.46/error/HTTP_PRECONDITION_FAILED.html.var
httpd-2.4.46/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
httpd-2.4.46/error/HTTP_REQUEST_TIME_OUT.html.var
httpd-2.4.46/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
httpd-2.4.46/error/HTTP_SERVICE_UNAVAILABLE.html.var
httpd-2.4.46/error/HTTP_UNAUTHORIZED.html.var
httpd-2.4.46/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
httpd-2.4.46/error/HTTP_VARIANT_ALSO_VARIES.html.var
httpd-2.4.46/error/README
httpd-2.4.46/error/contact.html.var
httpd-2.4.46/error/include
httpd-2.4.46/error/include/bottom.html
httpd-2.4.46/error/include/top.html
httpd-2.4.46/error/include/spacer.html
httpd-2.4.46/icons/README
httpd-2.4.46/icons/README.html
httpd-2.4.46/icons/a.gif
httpd-2.4.46/icons/a.png
httpd-2.4.46/icons/alert.black.gif
httpd-2.4.46/icons/alert.black.png
httpd-2.4.46/icons/alert.red.gif
httpd-2.4.46/icons/alert.red.png
httpd-2.4.46/icons/apache_pb.gif
httpd-2.4.46/icons/apache_pb.png
httpd-2.4.46/icons/apache_pb.svg
httpd-2.4.46/icons/apache_pb2.gif
httpd-2.4.46/icons/apache_pb2.png
httpd-2.4.46/icons/back.gif
httpd-2.4.46/icons/back.png
httpd-2.4.46/icons/ball.gray.gif
httpd-2.4.46/icons/ball.gray.png
httpd-2.4.46/icons/ball.red.gif
httpd-2.4.46/icons/ball.red.png
httpd-2.4.46/icons/binary.gif
httpd-2.4.46/icons/binary.png
httpd-2.4.46/icons/binhex.gif
httpd-2.4.46/icons/binhex.png
httpd-2.4.46/icons/blank.gif
httpd-2.4.46/icons/blank.png
httpd-2.4.46/icons/bomb.gif
httpd-2.4.46/icons/bomb.png
httpd-2.4.46/icons/box1.gif
httpd-2.4.46/icons/box1.png
httpd-2.4.46/icons/box2.gif
httpd-2.4.46/icons/box2.png
httpd-2.4.46/icons/broken.gif
httpd-2.4.46/icons/broken.png
httpd-2.4.46/icons/burst.gif
httpd-2.4.46/icons/burst.png
httpd-2.4.46/icons/c.gif
httpd-2.4.46/icons/c.png
httpd-2.4.46/icons/comp.blue.gif
httpd-2.4.46/icons/comp.blue.png
httpd-2.4.46/icons/comp.gray.gif
httpd-2.4.46/icons/comp.gray.png
httpd-2.4.46/icons/compressed.gif
httpd-2.4.46/icons/compressed.png
httpd-2.4.46/icons/continued.gif
httpd-2.4.46/icons/continued.png
httpd-2.4.46/icons/dir.gif
httpd-2.4.46/icons/dir.png
httpd-2.4.46/icons/diskimg.gif
httpd-2.4.46/icons/diskimg.png
httpd-2.4.46/icons/down.gif
httpd-2.4.46/icons/down.png
httpd-2.4.46/icons/dvi.gif
httpd-2.4.46/icons/dvi.png
httpd-2.4.46/icons/f.gif
httpd-2.4.46/icons/f.png
httpd-2.4.46/icons/folder.gif
httpd-2.4.46/icons/folder.open.gif
httpd-2.4.46/icons/folder.open.png
httpd-2.4.46/icons/folder.png
httpd-2.4.46/icons/folder.sec.gif
httpd-2.4.46/icons/folder.sec.png
httpd-2.4.46/icons/forward.gif
httpd-2.4.46/icons/forward.png
httpd-2.4.46/icons/generic.gif
httpd-2.4.46/icons/generic.png
httpd-2.4.46/icons/generic.red.gif
httpd-2.4.46/icons/generic.red.png
httpd-2.4.46/icons/generic.sec.gif
httpd-2.4.46/icons/generic.sec.png
httpd-2.4.46/icons/hand.right.gif
httpd-2.4.46/icons/hand.right.png
httpd-2.4.46/icons/hand.up.gif
httpd-2.4.46/icons/hand.up.png
httpd-2.4.46/icons/icon.sheet.gif
httpd-2.4.46/icons/icon.sheet.png
httpd-2.4.46/icons/image1.gif
httpd-2.4.46/icons/image1.png
httpd-2.4.46/icons/image2.gif
httpd-2.4.46/icons/image2.png
httpd-2.4.46/icons/image3.gif
httpd-2.4.46/icons/image3.png
httpd-2.4.46/icons/index.gif
httpd-2.4.46/icons/index.png
httpd-2.4.46/icons/layout.gif
httpd-2.4.46/icons/layout.png
httpd-2.4.46/icons/left.gif
httpd-2.4.46/icons/left.png
httpd-2.4.46/icons/link.gif
httpd-2.4.46/icons/link.png
httpd-2.4.46/icons/movie.gif
httpd-2.4.46/icons/movie.png
httpd-2.4.46/icons/odf6odb.png
httpd-2.4.46/icons/odf6odc.png
httpd-2.4.46/icons/odf6odf.png
httpd-2.4.46/icons/odf6odg.png
httpd-2.4.46/icons/odf6odi.png
httpd-2.4.46/icons/odf6odm.png
httpd-2.4.46/icons/odf6odp.png
httpd-2.4.46/icons/odf6ods.png
httpd-2.4.46/icons/odf6odt.png
httpd-2.4.46/icons/odf6otc.png
httpd-2.4.46/icons/odf6otf.png
httpd-2.4.46/icons/odf6otg.png
httpd-2.4.46/icons/odf6oth.png
httpd-2.4.46/icons/odf6oti.png
httpd-2.4.46/icons/odf6otp.png
httpd-2.4.46/icons/odf6ots.png
httpd-2.4.46/icons/odf6ott.png
httpd-2.4.46/icons/p.gif
httpd-2.4.46/icons/p.png
httpd-2.4.46/icons/patch.gif
httpd-2.4.46/icons/patch.png
httpd-2.4.46/icons/pdf.gif
httpd-2.4.46/icons/pdf.png
httpd-2.4.46/icons/pie0.gif
httpd-2.4.46/icons/pie0.png
httpd-2.4.46/icons/pie1.gif
httpd-2.4.46/icons/pie1.png
httpd-2.4.46/icons/pie2.gif
httpd-2.4.46/icons/pie2.png
httpd-2.4.46/icons/pie3.gif
httpd-2.4.46/icons/pie3.png
httpd-2.4.46/icons/pie4.gif
httpd-2.4.46/icons/pie4.png
httpd-2.4.46/icons/pie5.gif
httpd-2.4.46/icons/pie5.png
httpd-2.4.46/icons/pie6.gif
httpd-2.4.46/icons/pie6.png
httpd-2.4.46/icons/pie7.gif
httpd-2.4.46/icons/pie7.png
httpd-2.4.46/icons/pie8.gif
httpd-2.4.46/icons/pie8.png
httpd-2.4.46/icons/portal.gif
httpd-2.4.46/icons/portal.png
httpd-2.4.46/icons/ps.gif
httpd-2.4.46/icons/ps.png
httpd-2.4.46/icons/quill.gif
httpd-2.4.46/icons/quill.png
httpd-2.4.46/icons/right.gif
httpd-2.4.46/icons/right.png
httpd-2.4.46/icons/screw1.gif
httpd-2.4.46/icons/screw1.png
httpd-2.4.46/icons/screw2.gif
httpd-2.4.46/icons/screw2.png
httpd-2.4.46/icons/script.gif
httpd-2.4.46/icons/script.png
httpd-2.4.46/icons/small
httpd-2.4.46/icons/small/sound.gif
httpd-2.4.46/icons/small/binhex.png
httpd-2.4.46/icons/small/forward.gif
httpd-2.4.46/icons/small/index.gif
httpd-2.4.46/icons/small/text.png
httpd-2.4.46/icons/small/comp1.png
httpd-2.4.46/icons/small/burst.gif
httpd-2.4.46/icons/small/index.png
httpd-2.4.46/icons/small/broken.gif
httpd-2.4.46/icons/small/movie.png
httpd-2.4.46/icons/small/tar.gif
httpd-2.4.46/icons/small/folder2.gif
httpd-2.4.46/icons/small/unknown.png
httpd-2.4.46/icons/small/ps.png
httpd-2.4.46/icons/small/back.gif
httpd-2.4.46/icons/small/key.gif
httpd-2.4.46/icons/small/compressed.png
httpd-2.4.46/icons/small/comp1.gif
httpd-2.4.46/icons/small/uu.png
httpd-2.4.46/icons/small/doc.png
httpd-2.4.46/icons/small/back.png
httpd-2.4.46/icons/small/image2.png
httpd-2.4.46/icons/small/forward.png
httpd-2.4.46/icons/small/generic2.png
httpd-2.4.46/icons/small/comp2.png
httpd-2.4.46/icons/small/folder.png
httpd-2.4.46/icons/small/image.png
httpd-2.4.46/icons/small/comp2.gif
httpd-2.4.46/icons/small/patch.gif
httpd-2.4.46/icons/small/transfer.png
httpd-2.4.46/icons/small/binary.gif
httpd-2.4.46/icons/small/patch.png
httpd-2.4.46/icons/small/key.png
httpd-2.4.46/icons/small/ps.gif
httpd-2.4.46/icons/small/uu.gif
httpd-2.4.46/icons/small/movie.gif
httpd-2.4.46/icons/small/continued.png
httpd-2.4.46/icons/small/generic2.gif
httpd-2.4.46/icons/small/generic3.gif
httpd-2.4.46/icons/small/transfer.gif
httpd-2.4.46/icons/small/rainbow.png
httpd-2.4.46/icons/small/unknown.gif
httpd-2.4.46/icons/small/generic3.png
httpd-2.4.46/icons/small/text.gif
httpd-2.4.46/icons/small/sound.png
httpd-2.4.46/icons/small/binhex.gif
httpd-2.4.46/icons/small/image2.gif
httpd-2.4.46/icons/small/folder.gif
httpd-2.4.46/icons/small/generic.gif
httpd-2.4.46/icons/small/continued.gif
httpd-2.4.46/icons/small/sound2.gif
httpd-2.4.46/icons/small/folder2.png
httpd-2.4.46/icons/small/image.gif
httpd-2.4.46/icons/small/binary.png
httpd-2.4.46/icons/small/burst.png
httpd-2.4.46/icons/small/rainbow.gif
httpd-2.4.46/icons/small/compressed.gif
httpd-2.4.46/icons/small/blank.png
httpd-2.4.46/icons/small/blank.gif
httpd-2.4.46/icons/small/doc.gif
httpd-2.4.46/icons/small/generic.png
httpd-2.4.46/icons/small/sound2.png
httpd-2.4.46/icons/small/broken.png
httpd-2.4.46/icons/small/tar.png
httpd-2.4.46/icons/sound1.gif
httpd-2.4.46/icons/sound1.png
httpd-2.4.46/icons/sound2.gif
httpd-2.4.46/icons/sound2.png
httpd-2.4.46/icons/sphere1.gif
httpd-2.4.46/icons/sphere1.png
httpd-2.4.46/icons/sphere2.gif
httpd-2.4.46/icons/sphere2.png
httpd-2.4.46/icons/svg.png
httpd-2.4.46/icons/tar.gif
httpd-2.4.46/icons/tar.png
httpd-2.4.46/icons/tex.gif
httpd-2.4.46/icons/tex.png
httpd-2.4.46/icons/text.gif
httpd-2.4.46/icons/text.png
httpd-2.4.46/icons/transfer.gif
httpd-2.4.46/icons/transfer.png
httpd-2.4.46/icons/unknown.gif
httpd-2.4.46/icons/unknown.png
httpd-2.4.46/icons/up.gif
httpd-2.4.46/icons/up.png
httpd-2.4.46/icons/uu.gif
httpd-2.4.46/icons/uu.png
httpd-2.4.46/icons/uuencoded.gif
httpd-2.4.46/icons/uuencoded.png
httpd-2.4.46/icons/world1.gif
httpd-2.4.46/icons/world1.png
httpd-2.4.46/icons/world2.gif
httpd-2.4.46/icons/world2.png
httpd-2.4.46/icons/xml.png
httpd-2.4.46/cgi-bin/printenv
httpd-2.4.46/cgi-bin/printenv.vbs
httpd-2.4.46/cgi-bin/printenv.wsf
httpd-2.4.46/cgi-bin/test-cgi
httpd-2.4.46/man/man1/ab.1
httpd-2.4.46/man/man1/apxs.1
httpd-2.4.46/man/man1/dbmmanage.1
httpd-2.4.46/man/man1/htdbm.1
httpd-2.4.46/man/man1/htdigest.1
httpd-2.4.46/man/man1/htpasswd.1
httpd-2.4.46/man/man1/httxt2dbm.1
httpd-2.4.46/man/man1/logresolve.1
httpd-2.4.46/man/man8/apachectl.8
httpd-2.4.46/man/man8/fcgistarter.8
httpd-2.4.46/man/man8/htcacheclean.8
httpd-2.4.46/man/man8/httpd.8
httpd-2.4.46/man/man8/rotatelogs.8
httpd-2.4.46/man/man8/suexec.8
Comment 1 Jason Byrne 2021-05-08 22:15:36 UTC
FYI, this seems to be similar to...

https://bz.apache.org/bugzilla/show_bug.cgi?id=56252