Issue with writing to cfg files
Wrong rights in the cfg folders/files causes user webapp error.
Workaround:
write if fails
set rights again
write again if fails
error msg