C and C++ SoftBench User's Guide
Customizing SoftBench CM Configuration
Modifying the Configuration Files
Appendix B 345
prefix match, then most specific user/host match) to determine access
rights. However, by specifying priorities, you can use a shorter path for a
specific user. For example, in the following entries:
*@host R /earth ;
john@host S / ;
jane@host 2S / ;
the user "john" has "R" access to /earth because /earth is more specific
than "/" and "S" access to the rest of the archive. The user "jane" has "S"
access to thewhole archive, including /earth because the "2" specifies an
increased priority.
The /opt/softbench/sbin/checkperm -d command displays the
permissions file entries in sorted order. For any given access, the first
entry that matches the requesting user@host and /path determines the
access.
Recommended Format for Permissions File
You can order fields within an entry in two formats:
Format 1. Place user field first and permissions field second.
user1@host.domain.hp.com
RM /project1 /project2
S /project3 # system admin
R / # read-only default
;
user2@hp* S /project1
RM /project2 /project3
;
Format 2. Place path field first and permissions field second.
/ R *@*
;
/project1 RM user1@host* user2@15.1.1-40.* user3@*
S user4@host1.domain.hp.com
;
/project2 RM user1@host*
RMD user2@host1*
;
Use the pattern RMDA or -abf-cdilmnptuwx-oqz-esvy for permissions
and replace the disallowed permission bits or groupings with "-"
characters. This makes it easier to understand which permissions are
deleted and given. The permission letters can be in any order.