Make sure account_manager.php can write to banned_users.conf.
This commit is contained in:
parent
dea38fc6ff
commit
7471a9ec51
|
@ -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"]);
|
||||
|
|
Loading…
Reference in New Issue