Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I have offered the variable:
sharedir=/some/other/directory/
|
Customer wants to use a symbolic link.
Here is an example of what happens when using a symbolic link and no value for sharedir:
root@mxs:~# mkdir /opt/gui
|
root@mxs:~# mv /usr/share/maxscale/gui/* /opt/gui
|
root@mxs:~# rmdir /usr/share/maxscale/gui
|
root@mxs:~# ln -s /opt/gui /usr/share/maxscale/gui
|
root@mxs:~# ls /usr/share/maxscale/gui/
|
apple-touch-icon.png editor.worker.js favicon-16x16.png favicon.ico img js
|
css f8fbdc474808cb732257.worker.js favicon-32x32.png fonts index.html safari-pinned-tab.svg
|
 |
root@mxs:~# systemctl restart maxscale
|
root@mxs:~# curl http://192.168.20.208:8989
|
{"errors": [ { "detail": "Access denied" } ] }root@mxs:~#
|