IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced > Install IBM BPM Advanced > On Windows > Network deployment environment

Grant write permission of files and directories to nonadministrative users for profile creation or augmentation

If you are not the user who installed the product, you must have write permission to selected directories within the IBM BPM installation. The product installer can grant this permission or create a group with permission to create or augment profiles.

The product installer (who can be an administrative or nonadministrative user) can grant write permission to the appropriate IBM BPM files and directories to nonadministrative users. The nonadministrative users can then create profiles. Alternatively, the product installer can create a group for users who are authorized to create profiles or give individual users the authority to create profiles.

Nonadministrative users create their own profiles to manage their own environments. Typically, they manage environments for development purposes.

Nonadministrative users must store their profiles in their private directory structure, not in the INSTALL_ROOT\profiles directory of the product.

Restrictions:

If you already created at least one profile, certain directories and files were created. You can skip the steps in this topic that create these directories and files. If no profile was previously created, complete the steps to create the required directories and files.

The following example task shows how to create a group that is authorized to create profiles. The terms "installer" and "product installer" refer to the user ID that installed IBM BPM. The installer can perform the following steps to create the profilers group and give the group appropriate permissions to create a profile.


Procedure

  1. Log on to the IBM BPM system as the product installer. The product installer can be a administrative or nonadministrative user.

  2. Using operating system commands...

    1. Create a group named profilers, which will contain all users who can create profiles.

    2. Create a user named user1, who can create profiles.

    3. Add users product_installer and user1 to the profilers group.

  3. Log off and log back on as the installer to pick up the new group.

  4. If no profile exists, create the following directories as the installer:

    • Create the INSTALL_ROOT\logs\manageprofiles directory by following instructions in the Windows documentation. For this example procedure, the directory is:
       INSTALL_ROOT\logs\manageprofiles

    • Create the INSTALL_ROOT\properties\fsdb directory by following instructions in the Windows documentation. For this example procedure, the directory is:
       INSTALL_ROOT\properties\fsdb

  5. If no profile exists, create profileRegistry.xml as the installer. For this example, the file path is:
     INSTALL_ROOT\properties\profileRegistry.xml
    Add the following information to profileRegistry.xml. The file must be encoded as UTF-8.
    <?xml version="1.0" encoding="UTF-8"?>
    <profiles/>

  6. As the product installer, use operating system tools to change directory and file permissions.

    The following example assumes that the variable $WASHOME is the IBM BPM root installation directory C:\Program Files\IBM\WebSphere\AppServer. Follow instructions in the Windows documentation to give the profilers group read and write permission to the following directories and their files:

    @WASHOME\logs\manageprofiles
    @WASHOME\properties
    @WASHOME\properties\fsdb
    @WASHOME\properties\profileRegistry.xml

    You might have to change the permissions on additional files if the nonadministrative user encounters permission errors.

    For example, if the product installer authorizes a nonadministrative user to delete a profile, then the product installer might have to delete the following file:

     INSTALL_ROOT\properties\profileRegistry.xml_LOCK
    Give write access to the nonadministrative user for the file to authorize the user to delete the file. If the nonadministrative user still cannot delete the profile, then the product installer can delete the profile.


Results

The installer created the profilers group and gave the group the correct permissions to the directories and files required for a nonadministrative user to create profiles.


What to do next

The nonadministrative user that belongs to the profilers group can create profiles in a directory that the nonadministrative user owns and to which the nonadministrative user has write permission. However, the nonadministrative user cannot create profiles in the installation root directory of the product.

The administrative user and the nonadministrative user can use the same tasks to manage profiles.

Configure an ND environment on Windows