Configuration Precedence

APOD/SOD gives precedence to settings as follows, where user settings have the highest priority and default settings have the lowest.

  1. User
  2. Group (if a user belongs to more than one group, a precedence can be set for each group.)
  3. Global
  4. Default

The table below shows the setting values that a user aspera_user_1 is assigned in bold. In this example, aspera_user_1 is a member of both the admin and xfer groups. The admin group's precedence setting is 0, which supersedes the xfer group's setting of 1:

Configuring Precedence of Groups

You can configure a group's precedence in aspera.conf by running the following asconfigurator command:

# asconfigurator -x "set_group_data;group_name,group_name;precedence,value"
Note: A group's precedence setting must be greater than or equal to 0, where 0 is the highest precedence level.

This adds a <group> section to aspera.conf like the one below. In this example, group "admin" has higher precedence than group "xfer".

<groups>
   <group>
      <name>admin</name>
      <precedence>0</precedence>
      ...
   </group>
   <group>
      <name>xfer</name>
      <precedence>1</precedence>
      ...
   </group>
</groups>

You can also edit aspera.conf manually by opening it with administrative privileges:

/opt/aspera/etc/aspera.conf

In the file, locate the entry for each group, add the <precedence> option, and assign a precedence value as shown in the example above. After editing the file, validate the XML form and option values by running the following command:

# /opt/aspera/bin/asuserdata -v