#!/bin/sh

find /media -type d -print0 |xargs -0 chmod 777
find /media -type f -print0 |xargs -0 chmod 666

exec serviio_refresh
