The fix is: opening Flatseal, select the Dropbox app, and change the file sharing settings under the Filesytem section. See screenshot.

The partition or folder for synchronization has to be explicitly made available to Dropbox, so it can gain permissions to read or write.
