Index: /alternc/trunk/debian/postinst
===================================================================
--- /alternc/trunk/debian/postinst	(revision 1999)
+++ /alternc/trunk/debian/postinst	(revision 2108)
@@ -41,4 +41,8 @@
     # ajoute l'user postfix au groupe sasl
     adduser --quiet postfix sasl
+
+    # corriger les permissions du chroot
+    mkdir -p /var/spool/postfix/var/run/saslauthd || true
+    dpkg-statoverride --quiet --update --add root sasl 710 /var/spool/postfix/var/run/saslauthd  || true
 
     # build local.sh if it does not exist
Index: /alternc/trunk/debian/rules
===================================================================
--- /alternc/trunk/debian/rules	(revision 2041)
+++ /alternc/trunk/debian/rules	(revision 2108)
@@ -60,4 +60,13 @@
 	chown -R www-data:www-data debian/alternc/var/log/alternc
 	chown -R www-data:www-data debian/alternc/var/alternc/tmp
+
+    for sub in dns dns/redir mail html apacheconf
+    do
+        for i in a b c d e f g h i j k l m n o p q r s t u v w x y z _ 0 1 2 3 4 5 6 7 8 9
+	    do
+            mkdir -p $DATA/$sub/$i
+            chown www-data $DATA/$sub/$i
+        done
+    done
 
 	chmod a+x debian/alternc/usr/share/alternc/install/alternc.install
Index: ternc/trunk/install/initrep.sh
===================================================================
--- /alternc/trunk/install/initrep.sh	(revision 2106)
+++ 	(revision )
@@ -1,54 +1,0 @@
-#!/bin/sh
-#
-# $Id: initrep.sh,v 1.13 2004/11/10 22:28:34 anonymous Exp $
-# ----------------------------------------------------------------------
-# AlternC - Web Hosting System
-# Copyright (C) 2002 by the AlternC Development Team.
-# http://alternc.org/
-# ----------------------------------------------------------------------
-# Based on:
-# Valentin Lacambre's web hosting softwares: http://altern.org/
-# ----------------------------------------------------------------------
-# LICENSE
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License (GPL)
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# To read the license please visit http://www.gnu.org/copyleft/gpl.html
-# ----------------------------------------------------------------------
-# Original Author of file: Jerome Moinet, Benjamin Sonntag
-# Purpose of file: Create all the directories for AlternC in /$DATA/
-# ----------------------------------------------------------------------
-#
-DATA="/var/alternc"
-
-for sub in bureau cgi-bin db dns/redir exec.usr html mail mla tmp apacheconf
-do
-  mkdir -p $DATA/$sub
-done
-
-chmod 1777 $DATA/tmp
-
-for i in a b c d e f g h i j k l m n o p q r s t u v w x y z _ 0 1 2 3 4 5 6 7 8 9
-do
-    for sub in dns dns/redir mail html apacheconf
-    do
-      mkdir -p $DATA/$sub/$i
-      chown www-data $DATA/$sub/$i
-    done
-done
-
-touch $DATA/apacheconf/override_php.conf
-mkdir -p /var/log/alternc
-chown www-data:www-data /var/log/alternc
-chgrp -R www-data /etc/alternc
-
-mkdir -p /var/spool/postfix/var/run/saslauthd
-dpkg-statoverride --quiet --update --add root sasl 710 /var/spool/postfix/var/run/saslauthd  || true
