chutils command

You can use the chutils command to set the file ownership and permissions for an entire installation to an owner or group that differs from the user that performed the initial installation.

For transitioning users For transitioning users: The chutils command delivered with WebSphere® Application Server Version 8 and later has a behavior that is different from the behavior of the chutils command delivered with WebSphere Application Server Version 7 and earlier.trns
Considerations and limitations:

Location

The chutils command is located in the following directory:
app_server_root/instutils

Syntax

The chutils command syntax is as follows:
chutils.sh
  -installlocation=installation_directory
  -setowner=user_name
  -setgroup=group_name
  -setmod=[reset | grp2owner | patchperm]
  -help
  -debug

Parameters

The following options are available for the chutils command:

-installlocation=installation_directory
Specifies the absolute path to the installation root directory

This parameter is required unless you are currently in app_server_root.

-setowner=user_name
Sets the owner for each file and directory
-setgroup=group_name
Sets the group for each file and directory
-setmod=[reset | grp2owner | patchperm]
Sets the permissions on the files and directories
  • reset

    Resets the owner, group, and other permissions to the default value of 755

  • grp2owner

    Sets the group permission to match the owner permissions

    Limitation: Do not use chutils -setmod=grp2owner to set permissions if you want to update the product with a fix pack using group mode. In this case, use chutils -setowner=user_name.
  • patchperm

    Does nothing in WebSphere Application Server Version 8 and later

-help
Displays the help
-debug
Displays additional runtime information



Related concepts
Setting file permissions
Non-root installations


Terms of Use | Feedback

Last updatedLast updated: Sep 20, 2011 12:35:32 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-express-dist&topic=rxml_chutils
File name: rxml_chutils.html