PDA

View Full Version : permission changed at 00:40:01 all day


verdemamus
30th June 2006, 21:53
Hello ,

I do not understand as the permissions change to this hour 00:40:01 every day

the web folder are /var/www/
the permissions change give 755 to 400


however the permissions change for the folder created give ispconfig ...web2 ,web3 ,web4 .

I do not know what to control in order to resolve the problem.
thanks


ps: excused for my down English

falko
1st July 2006, 14:12
What's the output of ls -la /var/www?
What's the output of crontab -l?

verdemamus
2nd July 2006, 13:17
ls -la /var/www
totale 32
drwxr-xr-x 8 root root 4096 2006-06-05 17:55 .
drwxr-xr-x 16 root root 4096 2006-05-24 22:14 ..
drwxr-xr-x 3 root root 4096 2006-05-28 19:20 apache2-default
drwxr-xr-x 3 root root 4096 2006-05-31 00:30 localhost
lrwxrwxrwx 1 root root 21 2006-04-16 09:39 phpmyadmin -> /usr/share/phpmyadmin
drwxr-xr-x 2 root root 4096 2006-05-20 16:44 sharedip
drwxr-xr-x 10 web1_web web1 4096 2006-06-29 19:40 web1
drwxr-xr-x 8 web3_web web3 4096 2006-06-02 13:46 web3
drwxr-xr-x 2 root root 4096 2006-04-15 17:23 webalizer
lrwxrwxrwx 1 www-data web3 13 2006-05-28 17:22 www.site3.com -> /var/www/web3
lrwxrwxrwx 1 www-data web1 13 2006-05-23 14:23 www.site1.com -> /var/www/web1



================================================== ========
crontab -l30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /d ev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php & > /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_service s.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.ph p &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
0 * * * * /etc/webmin/bandwidth/rotate.pl
6 16 * * * /etc/webmin/fsdump/backup.pl 48931150129693

:cool: :rolleyes: :cool:

falko
3rd July 2006, 11:34
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null

It's this cron job that does it. Make sure your web sites don't exceed their monthly traffic!

verdemamus
4th July 2006, 14:14
tenks falko
Ciao ...