When the USER_CONFIG_FILE is not readable/writeable, an exception is throws.
Reported by Clement DAVID (@davidcl)
Originally assigned to Calixte DENIZET
-- Bug description --
When the USER_CONFIG_FILE is not readable/writeable, an exception is throws.
For me, any config operation have to be deactivated if the read fails.
-- Scilab error message --
java.io.FileNotFoundException: /configuration.xml (Permission non accordée)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at org.scilab.modules.gui.utils.ConfigManager.copyFile(Unknown Source)
at org.scilab.modules.gui.utils.ConfigManager.createUserCopy(Unknown Source)
-- How to reproduce the bug --
$ SCIHOME=/ bin/scilab -e "xcos()"