WAS v8.0 > Install the application serving environment > Distributed operating systems > Install the product > Non-root installations
chutils command
We 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: The chutils command delivered with WAS v8 and later has a behavior that is different from the behavior of the chutils command delivered with WAS Version 7 and earlier.trns
Considerations and limitations:
- The chutils command delivered with WAS v8 and later will not work for WAS v7 and earlier installations; and the chutils command delivered with WAS v7 and earlier will not work for WAS v8 and later installations.
The chutils command is not available on Windows operating systems.
- The chutils command should be run by a root user.
- The chutils command can be run using multiple options at once.
- We cannot use the chutils command to modify permissions for directories that are parents of of WAS_HOME.
If WAS_HOME is in User A's home directory and the root user uses chutils to change the ownership of WAS_HOME to User B, for example, WAS_HOME might still be inaccessible to User B because it is still a subdirectory of User A's home directory.
- We cannot use the chutils command to modify permissions for owner or world, although group permissions can be elevated to match owner permissions.
Location
The chutils command is located in the following directory:
WAS_HOME/instutilsThe 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
Absolute path to the installation root directory This parameter is required unless you are currently in WAS_HOME.
-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 to update the product with a fix pack using group mode. In this case, use chutils -setowner=user_name.
- patchperm
Does nothing in WAS v8 and later
-help
Displays the help
-debug
Displays additional runtime information
Set file permissions
Non-root installations