Bug 201305 - mail/mutt14: [patch] lock error: mutt_dotlock needs group "mail"
Summary: mail/mutt14: [patch] lock error: mutt_dotlock needs group "mail"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Martin Wilke
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-07-03 16:03 UTC by Lena
Modified: 2016-01-24 20:23 UTC (History)
2 users (show)

See Also:
Udo.Schweigert: maintainer-feedback+


Attachments
patch: /usr/local/bin/mutt_dotlock setgid mail (249 bytes, patch)
2015-07-03 16:03 UTC, Lena
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lena 2015-07-03 16:03:53 UTC
Created attachment 158292 [details]
patch: /usr/local/bin/mutt_dotlock setgid mail

Because of FreeBSD 8 EOL, I upgraded to 10 and recompiled ports. The mail/mutt14 port stopped to work: fetch-mail gave an error message, something like "cannot lock /var/mail/lena". In order to create a lock file in /var/mail, the /usr/local/bin/mutt_dotlock binary needs to be setgid, group "mail". The error is because mutt_dotlock has group "wheel" instead of "mail". Before the recompile mutt_dotlock had group "mail", I checked in a backup. The mail/mutt14 port needs group "mail" specified in pkg-plist, like the mail/mutt port. Patch attached.
Comment 1 Udo.Schweigert 2015-07-06 05:18:04 UTC
Patch approbier by maintainer.
Comment 2 Udo.Schweigert 2015-07-06 05:20:56 UTC
Should have read "approved" in the previous comment.
Comment 3 Udo.Schweigert 2016-01-24 20:08:55 UTC
Please close this PR, it has been committed with rev 397636 4 months ago.