fixing error
adding permissions to zoo dirs