Set owner and group so permissions are set correctly.fixes #8