Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634610

Summary: net-misc/kafka-bin: loose permissions on /var/{lib,log}/kafka
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš Mózes 2017-10-18 06:11:22 UTC
drwxr-xr-x 2 kafka root  4096 Oct 18 06:01 /var/lib/kafka/
drwxr-xr-x 2 kafka kafka 4096 Oct 18 06:01 /var/log/kafka/

maybe something like the following in the ebuild (like redis):
diropts -m0750 -o kafka -g kafka
keepdir /var/{log,lib}/kafka