There is a plugin for OMV called reset perms or something like that. Look for a youtube video by Jeff from TDL TechnoDadLife. The install is quick and it resolves the changed permissions for shared folders caused by Docker and/or Portainer.
If you're like me you'll end up using it almost every time you add, update or change a Docker container.