Bug 238287 - Permission denied to write to the eggdrop's root dir
Summary: Permission denied to write to the eggdrop's root dir
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: eggdrop
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-28 20:42 UTC by Andy Shevchenko
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-28 20:47:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andy Shevchenko 2007-04-28 20:42:30 UTC
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 
(%_datadir/eggdrop).

Version-Release number of selected component (if applicable):
Last release in Extras.

How reproducible:
[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!

Additional info:
chown ircd:ircd /usr/share/eggdrop solves the issue.

Comment 1 Robert Scheck 2007-04-28 20:47:07 UTC
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/.


Note You need to log in before you can comment on or make changes to this bug.