Summary: | sys-process/at-3.1.20: runs chown in pkg_postinst | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Zoltan Puskas <zoltan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cron-bugs+disabled, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/32113 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
2018-06-19 07:16:01 UTC
It seems that keepdir changes the permissions on the /var/spool/at/atspool directory, that's why the previous owner opted to fix that in pkg_postinst. Moving ownership and permission setting into src_install after keepdir should work though. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681086e7c5050ab59ecf09c139470ee8408af6d6 commit 681086e7c5050ab59ecf09c139470ee8408af6d6 Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2023-07-30 22:30:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-09 18:14:48 +0000 sys-process/at: Fix several installation issues - Fix `at` binary ownership - Remove `pkg_postinst()` since Makefile actually sets the ownership and permissions as needed. Fix broken permission by keepdir in scr_install instead. Closes: https://bugs.gentoo.org/658460 Closes: https://bugs.gentoo.org/711598 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Closes: https://github.com/gentoo/gentoo/pull/32113 Signed-off-by: Sam James <sam@gentoo.org> sys-process/at/at-3.2.5-r2.ebuild | 91 ++++++++++++++++++++++ .../at-3.2.5-Makefile.binary-permission-fix.patch | 12 +++ 2 files changed, 103 insertions(+) |