Persistent changes to the WD My Cloud EX2 configuration

Hello everyone, new user here. After looking around for quite bit and not finding an answer to my problem I decided to register and post here…

The title summarizes the question - How can I make persistent (manual) changes to my WD NAS?

Longer explanation. The NAS has been entirely designed to be managed through the web interface, with GUI and all. Mostly this does the trick, but I want/need more flexibility than what I can do from the GUI. For example, I want one directory to be owned by user_one, but the subdirectory should be owned by user_two. Or I want to manage my own users/groups, including user numbers, but the GUI doesn’t allow that. Or… I want to activate NFS with specific options, which are different from the default options the GUI activates. And so on.

I tried doing everything manually (ssh into NAS, manual edit of files, etc) and that works fine… until I reboot. Or until a power cut forces the reboot. Then, everything gets wiped, and replaced with some default configuration. (At first I thought I messed up, but I didn’t…)

This means there must be a “hidden config” that tells the NAS how to restore the various system files at every reboot. And that’s what I want to change. I want to make my changes permanent. (And if that means I’ll lose the GUI configuration tool, that’s fine.)

All I was able to find is this post, which is exactly the kind of problem I’m looking to solve. But just doesn’t apply to my NAS…

Anyone knows how to do it? Help is much appreciated… if I can’t do this, I may just end up attaching the HDDs directly to my home server and configure everything from there, but would really like to avoid all the work.