Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658460 - sys-process/at-3.1.20: runs chown in pkg_postinst
Summary: sys-process/at-3.1.20: runs chown in pkg_postinst
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 07:16 UTC by Michał Górny
Modified: 2018-06-19 07:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-06-19 07:16:01 UTC
Why does the ebuild chown/chmod everything post-install, instead of doing it either in src_install or pkg_preinst?  In the latter case, I think you could also delay creating the user until preinst.

http://michael.orlitzky.com/articles/end_root_chowning_now_%28make_pkg_postinst_great_again%29.xhtml