Bug 122030 - mail/listmanager needs to install listmanager with mailnull group
Summary: mail/listmanager needs to install listmanager with mailnull group
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 02:40 UTC by Gregory Neil Shapiro
Modified: 2008-04-14 16:20 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (760 bytes, patch)
2008-03-24 02:40 UTC, Gregory Neil Shapiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Neil Shapiro freebsd_committer freebsd_triage 2008-03-24 02:40:00 UTC
The listmanager binary ($LOCAL_BASE/sbin/listmanager) is expected to
be run by sendmail (or other installed MTA) but not normal users.
Therefore, it is installed such that only the owner and group can
execute it (mode 4510).  However, the group is left at the default
(wheel) during installation instead of the sendmail mailnull user.

Fix: Change the ports/listmanager/Makefile do-install target so the
listmanager binary is installed with group mailnull (-g mailnull).

A patch which also allows users to override the group (in case they use
a different MTA user):
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-03-24 02:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gshapiro

Submitter is maintainer and has GNATS access (via the GNATS Auto Assign 
Tool)
Comment 2 Gregory Neil Shapiro freebsd_committer freebsd_triage 2008-03-24 04:48:48 UTC
Responsible Changed
From-To: gshapiro->freebsd-ports-bugs

Return this to freebsd-ports-bugs as although I am the port maintainer, 
I do not have a port commit bit so I can't commit the change.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-04-14 16:14:07 UTC
gahr        2008-04-14 15:13:58 UTC

  FreeBSD ports repository

  Modified files:
    mail/listmanager     Makefile 
  Log:
  - Install binary with group set to Sendmail's mailnull user
  
  PR:             122030
  Submitted by:   gshapiro (maintainer)
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.16      +3 -1      ports/mail/listmanager/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 4 Pietro Cerutti freebsd_committer freebsd_triage 2008-04-14 16:14:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!