Summary: | mail-mta/nullmailer-2.2-r2: setgid bit not set on /usr/sbin/nullmailer-queue | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Yagliyan <burnsmellfactory> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | burnsmellfactory |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | brief program to simulate how nullmailer-queue opens adminaddr file |
Description
Michael Yagliyan
2022-12-29 17:20:42 UTC
Created attachment 845664 [details] brief program to simulate how nullmailer-queue opens adminaddr file Attached readfile.c to simulate how nullmailer-queue opens /etc/nullmailer/adminaddr but print more info about what is happening. Steps to reproduce exactly my scenario (as root): 1. gcc -o readfile readfile.c 2. chmod 4711 readfile 3. chown nullmail:nullmail readfile 4. echo "my-email@example.com" >/etc/nullmailer/adminaddr 5. chmod 640 /etc/nullmailer/adminaddr 6. chown root:nullmail /etc/nullmailer/adminaddr 7. ./readfile I noticed bug #683332, which maybe provides more reason to have the setgid bit set. |