Ignore:
Timestamp:
02/21/06 23:51:56 (9 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2004-05-19 05:06:03 by anonymous]
déplacer une bonne partie de la gestion des permissions de
alternc.install vers le fichier debian/rules

Original author: anonymous
Date: 2004-05-19 05:06:04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/scripts/alternc.install

    r190 r219  
    378378# 11.5 setup permissions for scripts and configs 
    379379system("chmod a+x /etc/init.d/iptables"); 
    380 system("chmod 750 /etc/alternc -R"); 
    381 system("chown root.root /etc/alternc -R"); 
    382 system("mkdir /var/run/alternc"); 
    383 system("mkdir /var/log/alternc"); 
    384 system("chown www-data.www-data /var/alternc/bureau/admin/webmail/.htaccess /etc/webalizer /var/alternc/bureau /var/alternc/html /var/alternc/mail /var/alternc/dns /var/run/alternc /var/log/alternc -R"); 
    385 system("chown root.www-data /usr/lib/alternc/ -R"); 
    386 system("chmod 0750 /usr/lib/alternc"); 
    387 system("chmod 0750 /usr/lib/alternc/*"); 
    388 system("chmod 4750 /usr/lib/alternc/mem_add"); 
    389 system("chmod 4750 /usr/lib/alternc/quota_edit"); 
    390 system("chmod 4750 /usr/lib/alternc/quota_get"); 
    391 system("chmod 4750 /usr/lib/alternc/mail_add"); 
    392 system("chmod 4750 /usr/lib/alternc/mail_del"); 
    393 system("chmod 4750 /usr/lib/alternc/mem_del"); 
    394 system("chmod 4750 /usr/lib/alternc/db_create"); 
     380system("chown www-data.www-data /var/alternc/bureau/admin/webmail/.htaccess /var/alternc/bureau /var/alternc/html /var/alternc/mail /var/alternc/dns /var/run/alternc /var/log/alternc -R"); 
    395381system("chmod 0640 /var/alternc/bureau/class/*.php"); 
    396382system("chown root.www-data /var/alternc/bureau/class/*.php"); 
    397383system("chown root.www-data /var/alternc/bureau/class"); 
    398 system("chgrp www-data /etc/alternc"); 
    399384system("chgrp www-data /etc/alternc/local.sh"); 
    400385system("chgrp www-data /etc/alternc/sendmail"); 
Note: See TracChangeset for help on using the changeset viewer.