Fixing some directory ownership issues