Red Hat Bugzilla – Bug 238287
Permission denied to write to the eggdrop's root dir
Last modified: 2007-11-30 17:12:03 EST
Description of problem:
Eggdrop can't be started as root. It needs to start under ircd user (f.e.).
However ircd user can't write files to the eggdrop's root directory
Version-Release number of selected component (if applicable):
Last release in Extras.
[root@work eggdrop]# eggdrop -c /usr/share/eggdrop/eggdrop.conf
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[23:32] * ERROR: Eggdrop will not run as root!
chown ircd:ircd /usr/share/eggdrop solves the issue.
Configuration files NEVER have to be in /usr/share/eggdrop/, if you put them
there, something is wrong with you. And there won't be any user shipped with
eggdrop, because eggdrop is really thought to be MULTIPLE times started with
DIFFERENT users and DIFFERENT configurations. Create an OWN user and put your
configuration NOT into /usr/share/.