[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#450654: /etc/init.d/apache2 creates /var/lock/apache2 with wrong permissions



Package: apache2
Version: 2.2.3-4+etch1
Severity: important
Tags: patch

/etc/init.d/apache2 creates the /var/lock/apache2 directory with owner and group set to root.
It should have the apache group "www-data" and chmod g+rw in order for some modules to work, 
e.g. dav_fs.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork        2.2.3-4+etch1 Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information
125c125
< 		[ -d /var/lock/apache2 ] || mkdir -p /var/lock/apache2
---
> 		[ -d /var/lock/apache2 ] || mkdir -p /var/lock/apache2 ; chgrp www-data /var/lock/apache2 ; chmod g+rwx /var/lock/apache2

Reply to: