You can change the owner of a file or directory by using either iSeries™ Navigator or the command line interface.
From iSeries Navigator
From the iSeries command line, use the CHGOWN command. For example, this command transfers the ownership of myfile from the current owner to NEWOWNER:
CHGOWN OBJ('/QNetWare/server.svr/sys/myfile') NEWOWN(NEWOWNER)