Changing file ownership attributes

Using the BLPackage editor, you can specify whether to apply or ignore file owner attributes during a deployment or a rollback.

This capability is particularly useful when deploying files or rolling back a file deployment. Sometimes a Deploy Job or a rollback can fail because users who are not owners of the existing files cannot change the ownership attributes of those files.

Using this procedure, you can choose to apply or ignore the attributes of a file's owner, group, and permissions, as well as the attributes of a UNIX ACL defined on the file. Applying any of these attributes means that the file attribute, as specified in the BLPackage, is applied to the file during deployment or rollback. Ignoring any of these ownership attributes means that file attribute is ignored during deployment or rollback and the existing file's attribute is used instead.

If you specify that ownership attributes should be ignored and a file does not already exist on target server, then ownership attributes default to those of the user executing the job and permissions are set to full access. If you specify that ownership attributes should be ignored and a file already exists, the existing file's attributes remain intact.

To change file ownership attributes

  1. In the hierarchy view, select any file included in a BLPackage.
    At right you see the attributes associated with that object.
  2. Set the file attributes that you want applied during deployment or rollback, as relevant:

    Attributes to setHow to set
    User owner attributes of the fileYou can specify an owner by user ID (UID) or by user name (a text string). If you specify both, the name takes precedence.
    • By UID: Enter a value for Owner. Then set OwnerOption to Apply.
      Alternatively, to ignore owner attributes, set to Ignore.
    • By name: Enter a value for UserOwnerName. Then set UserOwnerNameOption to Apply.
      Alternatively, to ignore owner attributes, set to Ignore.
    Group owner attributes* of the fileYou can specify a group by group ID (GID) or by group name (a text string). If you specify both, the name takes precedence.
    • By GID: Enter a value for Group. Then set GroupOption to Apply.
      Alternatively, to ignore group attributes, set to Ignore.
    • By name: Enter a value for GroupOwnerName. Then set GroupOwnerNameOption to Apply.
      Alternatively, to ignore group attributes, set to Ignore.
    Unix ACL* of the fileSpecify whether an ACL was defined on the file by setting UnixACL to either True or False.
    Then set UnixACLOption to Apply or to Ignore.
    File permissions*Enter a value for Permissions (for example, rw- r-- r--). Then set PermissionsOption to Apply.
    Alternatively, to ignore file permissions, set to Ignore.

    * Relevant for UNIX file deployments only.

Was this page helpful? Yes No Submitting... Thank you

Comments