Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61399

Summary: Webalizer's HTML directory has incorrect permissions
Product: Gentoo Linux Reporter: Christopher Warrington (c45207) <chris>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Warrington (c45207) 2004-08-23 10:13:43 UTC
The directory into which webalizer writes its HTML files (/var/www/webalizer) does not have the proper permissions.

The directory is set to 644. It should be 755 to allow directory traversal by apache. Also, the group could be changed to apache and then permission could be 750.

Reproducible: Always
Steps to Reproduce:
1. Remove current webalizer HTML directory
1. Emerge webalizer

Actual Results:  
The directory was 644.

Expected Results:  
The directory should have been 755.

Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.
8-gentoo-r1)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 M II 3x Core/Bus Clock
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -mcpu=i586 -march=i586 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/
share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -mcpu=i586 -march=i586 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
http://gentoo.osuosl.org/ http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi apache2 apm avi berkdb caps crypt cups curl doc dvb emacs 
encode fastcgi fbcon flac flash foomaticdb freetds freetype gd gdbm gif gphoto2 
gpm gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6 java jikes jpeg 
kde krb4 lcms libg++ libgda libwww mad maildir memlimit mikmod motif mozilla 
mpeg mysql ncurses nls oggvorbis pam pdflib perl png pnp ppds prelude python qt 
quicktime readline ruby sasl sdl slang speex spell sqlite ssl svga tcltk tcpd 
theora tiff truetype unicode usb wmf wxwindows x86 xinerama xml xml2 xv zlib"
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2004-08-27 16:05:57 UTC
Coming, just need to get webapp-config keyworded for ppc64 first. Watch this space
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-08-28 15:05:15 UTC
-r6 in CVS
Comment 3 Joakim 2004-09-22 23:31:14 UTC
I'm not sure if this have any relevance but if it has I thought it belongs here.
As I felt unclear about if webalizer really was installed by webapp-config (no output at all) I unmerged webalizer-2.01.10-r6 again and portage (2.51) spitted out this after "grabbing a set.":

QA Notice: ECLASS 'eutils' inherited illegally in app-admin/webalizer-2.01.10-r6


QA Notice: ECLASS 'webapp' inherited illegally in app-admin/webalizer-2.01.10-r6

My system info:
# emerge info
Portage 2.0.51_rc1 (default-linux/x86/2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.4.27-gentoo-r1 i586)
=================================================================
System uname: 2.4.27-gentoo-r1 i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21,sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-3 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib apache2 avi berkdb bitmap-fonts crypt encode foomaticdb gd gdbm geoip ggi gif gpm gtk2 imap imlib jpeg libg++ libwww mad maildir mpeg mysql ncurses nls pam pdflib perl png python quicktime readline sasl sdl slang snmp spell sqlite ssl tcpd tiff truetype usb vhosts virus-scan wmf x86 xml xml2 xprint zeo zlib"