Chown of created dirs and path fix