Overview

The template file must conform to the base schema rave.xsd.
configuration.png
Basically it is devided into three sections:

Section: Directories

This section contains a list of (hierarchical) directories to be created/processed. ACL (access-control-list) entries define the rights to set/enforce. But details on each member are not specified here. Rather they are resolved entries in the Members section.

Section: Members

This section contains members possibly referenced by Directory entries.

Section: StorageAdapterConfiguration

This is an optional section which is passed to the referenced StorageAdapter for further interpretation.

Example

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="http://www.utillity.com/schemas/rave/v1" targetSystem="NtfsFileSystem" rootDirectory="c:\Temp">
  <Directories>
    <Directory removeAllOtherSecurityEntries="true">
      <Name>1</Name>
      <SecurityEntries>
        <GroupSecurityEntry>
          <MemberID>Admins</MemberID>
          <Rights>Read,Write,ExecuteFile</Rights>
        </GroupSecurityEntry>
        <GroupSecurityEntry>
          <MemberID>Users</MemberID>
          <Rights>Read</Rights>
        </GroupSecurityEntry>
        <UserSecurityEntry>
          <MemberID>John</MemberID>
          <Rights>FullControl</Rights>
        </UserSecurityEntry>
        <UserSecurityEntry>
          <MemberID>System</MemberID>
          <Rights>Read,Write,ExecuteFile</Rights>
        </UserSecurityEntry>
        <UserSecurityEntry>
          <MemberID>Mike</MemberID>
          <Rights>FullControl</Rights>
        </UserSecurityEntry>
      </SecurityEntries>
      <SubDirectories></SubDirectories>
    </Directory>
  </Directories>
  <Members>
    <Group id="Admins">
      <Identifier>Administrators</Identifier>
      <IdentificationType>cn</IdentificationType>
    </Group>
    <Group id="Users">
      <Identifier>Users</Identifier>
      <IdentificationType>cn</IdentificationType>
    </Group>
    <User id="John">
      <Identifier>S-1-7-15</Identifier>
      <IdentificationType>SID</IdentificationType>
    </User>
    <User id="System">
      <Identifier>System</Identifier>
      <IdentificationType>cn</IdentificationType>
    </User>
    <User id="Mike">
      <Identifier>Mike</Identifier>
      <IdentificationType>cn</IdentificationType>
    </User>
  </Members>
</Configuration>

Last edited Dec 4, 2011 at 12:29 PM by uTILLIty, version 4

Comments

No comments yet.