Temp fix in cron.php for new installs and cleanup in post.php
This commit is contained in:
parent
296c095ddd
commit
21a98d9724
|
@ -40,6 +40,12 @@
|
|||
@chown($webtmp, $CONFIG['webserver_user']);
|
||||
@chgrp($webtmp, $CONFIG['webserver_user']);
|
||||
|
||||
# Fix this. It shouldn't be necessary
|
||||
$overview = $spooldir.'/articles-overview.db3';
|
||||
touch($overview);
|
||||
@chown($overview, $CONFIG['webserver_user']);
|
||||
@chgrp($overview, $CONFIG['webserver_user']);
|
||||
|
||||
/* Change to non root user */
|
||||
$uinfo=posix_getpwnam($CONFIG['webserver_user']);
|
||||
change_identity($uinfo["uid"],$uinfo["gid"]);
|
||||
|
|
Loading…
Reference in New Issue