diff --git a/Rocksolid_Light/rslight/scripts/cron.php b/Rocksolid_Light/rslight/scripts/cron.php index ba2fa7b..8dbfa3c 100644 --- a/Rocksolid_Light/rslight/scripts/cron.php +++ b/Rocksolid_Light/rslight/scripts/cron.php @@ -72,6 +72,9 @@ $cwd = getcwd(); $webtmp = preg_replace('/spoolnews/', 'tmp/', $cwd); $keydir = preg_replace('/spoolnews/', 'pubkey/', $cwd); +$banfile = $config_dir . '/banned_users.conf'; +@chown($banfile, $uinfo["uid"]); + @mkdir($webtmp, 0755, 'recursive'); @chown($webtmp, $uinfo["uid"]); @chgrp($webtmp, $uinfo["gid"]);