Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634612 - dev-db/mongodb: loose permissions on /var/{lib,log}/mongodb
Summary: dev-db/mongodb: loose permissions on /var/{lib,log}/mongodb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lujeni
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-18 06:13 UTC by Tomáš Mózes
Modified: 2017-11-05 18:09 UTC (History)
3 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 Tomáš Mózes 2017-10-18 06:13:43 UTC
drwxr-xr-x 4 mongodb root    4096 Oct 18 05:46 /var/lib/mongodb
drwxr-xr-x 2 mongodb mongodb 4096 Oct 17 09:02 /var/log/mongodb

maybe something like the following in the ebuild (like redis):
diropts -m0750 -o mongodb -g mongodb
keepdir /var/{log,lib}/mongodb
Comment 1 Tomáš Mózes 2017-11-02 10:31:42 UTC
https://github.com/gentoo/gentoo/pull/6108
Comment 2 Ultrabug gentoo-dev 2017-11-05 18:09:24 UTC
Thanks a lot mate, merged & fixed thx to you!