Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128024 - dspam 3.6.4 ebuilds sets wrong permissions
Summary: dspam 3.6.4 ebuilds sets wrong permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 11:35 UTC by Manuel McLure
Modified: 2006-10-29 02:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild that sets proper permissions for dspam executables (dspam-3.6.4-r1.ebuild,17.57 KB, text/plain)
2006-03-29 11:36 UTC, Manuel McLure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel McLure 2006-03-29 11:35:11 UTC
The dspam 3.6.4 ebuild sets the permissions on /usr/bin/dspam and /usr/bin/dspam_stats to -r-x--s---  1 root mail, while all of the directories and such get created with user root, group mail, and permissions 02510 (-r-x--s---).

However, the directories and files created by dspam have user dspam and group dspam, so the dspam executable with permissions as above can't write into them if it is executed by anyone but root.

These executables should have group dspam and sgid permissions so they can correctly write to these files.
Comment 1 Manuel McLure 2006-03-29 11:36:09 UTC
Created attachment 83387 [details]
Ebuild that sets proper permissions for dspam executables
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-10-29 01:57:04 UTC
takeover the maintainership from st_lim. 
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-10-29 02:01:24 UTC
fixed in 3.6.8