Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399845 - net-nds/gosa-core - wrong apache group in gosa-encrypt-passwords script
Summary: net-nds/gosa-core - wrong apache group in gosa-encrypt-passwords script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
Whiteboard: Pending removal: 2018-12-21
Keywords: PMASKED
Depends on:
Reported: 2012-01-23 15:10 UTC by roltel
Modified: 2019-01-23 18:12 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description roltel 2012-01-23 15:10:32 UTC
The script "gosa-encrypt-passwords" modifies group ownerwhip of the gosa configuration file. It uses "www-data" as the apache group by default. In gentoo, the apache group should "apache".

Reproducible: Always

Steps to Reproduce:
1. Delete file /etc/gosa.secrets
2. Run gosa-encrypt-passwords

Actual Results:  
In the output, you will see an error message saying that there is no "www-data"-group. The file /etc/gosa/gosa.conf is now only readable by user root and group root. It has to be readable by apache web server for gosa to work.

Expected Results:  
No error message in output of gosa-encrypt-passwords. The file /etc/gosa/gosa.conf is readable by apache to make the gosa website work.
Comment 1 roltel 2012-01-23 15:14:57 UTC
Forgot to mention that gosa-encrypt-passwords is part of the package net-nds/gosa-core.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-01-23 18:12:07 UTC