#!/bin/bash

sudo find /mnt/union/series ! -user dbi -exec chown dbi: {} \;
sudo find /mnt/union/series ! -group fs_data -exec chown :fs_data {} \;
sudo find /mnt/union/movies ! -user dbi -exec chown dbi: {} \;
sudo find /mnt/union/movies ! -group fs_data -exec chown :fs_data {} \;