[MXS-3345] --basedir overrides more specific settings like --connector_plugindir Created: 2020-12-18  Updated: 2021-04-19  Resolved: 2021-02-09

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.4.16

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MXS-3352 --basedir overrides more specific set... Closed
Sprint: MXS-SPRINT-123, MXS-SPRINT-124

 Description   

$  bin/maxscale --basedir=/MAXSCALE --connector_plugindir=/usr/lib64/mysql/plugin/  
alert  : Can't access '/MAXSCALE/var//mysql/plugin'.



 Comments   
Comment by markus makela [ 2021-02-09 ]

The reason why this happened was that permission checks for the paths were done at every step and the temporary value generated by --basedir was not accessible. The solution was to defer the permission checks until all values were read from the command line and the configuration file.

Generated at Thu Feb 08 04:20:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.