Added chown functionality.(OMS-379)