stable

Clone or download

Read-only

request #8801 Tuleap warns about wrong owernship of plugins installed by default

The install script (setup.sh) activated some plugins with root instead of $sys_http_user. Now, the setup.sh calls the install and active script as sys_http_user and the system_check raises a warning if one ore more of this file/folder don't have the needed access rights. Impacted plugins: * Docman * Tracker * Cardwall * Git To test it, you do : * tuleap --clear-cache * cd /etc/tuleap/plugins/docman * chown root:root -R . * process_system_check * once finished : chown codendiadm:codendiadm -R . Change-Id: Icae80ee0c4a9e1a36e706e589e5adee908bee011

Modified Files

Name
M plugins/cardwall/include/cardwallPlugin.class.php +14 −1 Go to diff View file
M plugins/docman/include/SystemCheck.php +25 −7 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +1 −0 Go to diff View file
M plugins/docman/tests/SystemCheckTest.php +4 −1 Go to diff View file
M plugins/git/include/Git/SystemCheck.class.php +32 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +5 −2 Go to diff View file
M plugins/git/tests/Git/SystemCheckTest.php +11 −2 Go to diff View file
M plugins/mediawiki/include/MediawikiMLEBExtensionManager.php +1 −1 Go to diff View file
M plugins/svn/include/autoload.php +2 −9 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +9 −1 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/backend/BackendLogger.class.php +2 −2 Go to diff View file
A src/common/backend/SystemCheckLogger.php +38 −0 Go to diff View file
A src/common/plugin/PluginConfigChecker.php +77 −0 Go to diff View file
M src/common/system_event/include/SystemEvent_SYSTEM_CHECK.class.php +14 −9 Go to diff View file
M tools/setup.sh +7 −7 Go to diff View file
M tools/utils/admin/activate_plugin.php +8 −1 Go to diff View file