]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- fix the http group missing problem by creating the group, this way i can get rid of
authordjurban <djurban@pld-linux.org>
Sat, 26 Nov 2005 12:55:33 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  2005-11-26 12:51:15: (mod_fastcgi.c.804) bind failed for:
                 /var/run/php/php-fastcgi.sock-0 0 Permission denied
  Access: (0770/drwxrwx---)  Uid: (    0/    root)   Gid: (
                 51/ UNKNOWN)

Changed files:
    lighttpd.spec -> 1.142

lighttpd.spec

index 14696b2c52049ed7e911b419880401f1b4c9f3d2..887a483bacc1d5ba9bf246ac6ea460ea44df2910 100644 (file)
@@ -300,7 +300,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 %groupadd -g 109 lighttpd
-%useradd -u 116 -d %{_lighttpddir} -c "HTTP User" -g lighttpd lighttpd
+%groupadd -g 51 http
+%addusertogroup lighttpd http
+%useradd -u 116 -d %{_lighttpddir} -c "HTTP User" -g lighttpd lighttpd,httpd
 
 %post
 /sbin/chkconfig --add %{name}
@@ -322,6 +324,7 @@ fi
 if [ "$1" = "0" ]; then
        %userremove lighttpd
        %groupremove lighttpd
+       %groupremove http
 fi
 
 %triggerpostun -- %{name} <= 1.3.6-2
This page took 0.199849 seconds and 4 git commands to generate.