Xceed Binary Encoding Library Documentation
Xceed Binary Encoding control reference / Encoding Format objects / XceedUUEncodingFormat object / HeaderPermissions property
In This Topic
    HeaderPermissions property
    In This Topic

    Description

    The HeaderPermissions property allows you to get or set the UNIX-style file permissions in the header of data being encoded or decoded.

    When encoding with the Encode or ReadFile method, this property must be set (unless you are content with the default value) because the library has no way of determining what file permissions should be encoded into the header.

    When decoding, as soon as the called method returns decoded data, this property's value will be changed to the permissions contained in the encoded data's header.

    Data type

    EXBUnixFilePermission

    Default value

    bupUserRead + bupGroupRead + bupOtherRead

    Possible values

    Each of these values can be added together to combine multiple permissions.
     

    Enumeration Value Description
    bupUserRead 256 Read permission for the user that owns the file.
    bupUserWrite 128 Write permission for the user that owns the file.
    bupUserExecute 64 Execute permission for the user that owns the file.
    bupGroupRead 32  Read permission for the group the file belongs to.
    bupGroupWrite 16  Write permission for the group the file belongs to.
    bupGroupExecute Execute permission for the group the file belongs to.
    bupOtherRead Read permission for all other users.
    bupOtherWrite   2 Write permission for all other users.
    bupOtherExecute Execute permission for all other users.

    Applicable methods

    Encode, Decode, ProcessFile, ReadFile, WriteFile