Change file or directory ownership

You can change the owner of a file or directory by using either iSeries™ Navigator or the command line interface.

From iSeries Navigator

  1. Expand your iSeries server —> File Systems —> Integrated File System —> QNetWare —> the name of the NetWare server.
  2. Right-click on the directory or file and select Permissions.
  3. Click on the Owner button.
  4. Expand the list of All Users, select the new owner from that list, and click OK.

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)