#!/bin/bash chown -P -R emby:yggdrasil /home/yggdrasil find -P /home/yggdrasil/ -type f -exec chmod 0440 {} \; find -P /home/yggdrasil/ -type d -exec chmod 0550 {} \; chmod -R u+w /home/yggdrasil/new_acquisition