Bug 131060 - [maintainer-update|patch] irc/ircd-ratbox: Permissions fix for ratbox 2.2.x
Summary: [maintainer-update|patch] irc/ircd-ratbox: Permissions fix for ratbox 2.2.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 20:30 UTC by moggie
Modified: 2009-01-28 04:40 UTC (History)
0 users

See Also:


Attachments
ircd-ratbox-2.2.8_update.diff (613 bytes, patch)
2009-01-27 20:30 UTC, moggie
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description moggie 2009-01-27 20:30:03 UTC
In order to modify ban files such as kline.conf and xline.conf, ircd-ratbox 2.2.x needs write permissions to the directory containing these files so it can manipulate their temporary counterparts during the update process. To facilitate this, and to save the user from having to make this change themselves, the '/usr/local/etc/ircd-ratbox/' directory is now set to be owned by the IRCD user instead of root.

Worth noting that this issue does not affect ircd-ratbox 3.x since it stores its ban data using sqlite in a different location, and that the IRCD configuration file (ircd.conf) itself should still be owned by root as an additional security measure. Thanks go to steinex@efnet for this.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-01-27 20:30:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this category PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-01-28 04:39:54 UTC
beech       2009-01-28 04:39:39 UTC

  FreeBSD ports repository

  Modified files:
    irc/ircd-ratbox      Makefile 
  Log:
  - In order to modify ban files such as kline.conf and xline.conf,
    ircd-ratbox 2.2.x needs write permissions to the directory containing
    these files so it can manipulate their temporary counterparts during
    the update process. To facilitate this, and to save the user from
    having to make this change themselves, the '/usr/local/etc/ircd-ratbox/'
    directory is now set to be owned by the IRCD user instead of root.
  
  PR:             ports/131060
  Submitted by:   Lewis <moggie@elasticmind.net> (maintainer)
  
  Revision  Changes    Path
  1.16      +4 -3      ports/irc/ircd-ratbox/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2009-01-28 04:40:06 UTC
State Changed
From-To: open->closed

Committed, Thanks!