I want to mount-bind an app data folder in /data/data/... to a user subfolder in order to automatically synchronise the contents for backup purposes. As root I use the following command:
mount -o bind data/data/org.blabla.app/database/ /storage/emulated/0/blabla_database
The command seems to work and I can access the files in the mounted folder as long as I am root. However, as soon as I exit root, the files become invisible and the bind-mounted folder is empty.
How can I make the files visible for non-root users so that my sync app can access the files for backup?