umask
option,
you can grant permissions to users on a conditional basis if the user
is part of the SAS Business Rules Manager user group.
CMD=<your-operating-system-path> CURR_GID=`eval $CMD -g` GID=<solution-group-id> if [$CURR_GID -eq $GID]; then umask 002 fi
a | In
the CMD=<your-operating-system-path> ,
specify the full path on your server where the ID command is stored.
You can get this information by entering a which
id or whence id command
on your console.
|
b | In
the GID=<solution-group-id> ,
specify the group ID. Type id on
your console to get the GID and UID information.
|
c | A
value of 002 is recommended for the umask option.
|
Operating Environment
|
Sample Code
|
---|---|
AIX
|
CMD=/usr/bin/id CURR_GID=‘eval $CMD -g‘ GID=201 if [ $CURR_GID -eq $GID ]; then umask 002 fi |
H64I (HP-Itanium)
|
CMD=/usr/bin/id CURR_GID=‘eval $CMD -g‘ GID=201 if [ $CURR_GID -eq $GID ] ; then umask 002 fi |
S64 (Solaris)
|
CMD=/usr/xpg4/bin/id CURR_GID=‘eval $CMD -g‘ GID=201 if [ $CURR_GID -eq $GID ] ; then umask 002 fi |
SAX (Solaris for X64)
|
CMD=/usr/xpg4/bin/id CURR_GID=‘eval $CMD -g‘ GID=201 if [ $CURR_GID -eq $GID ] ; then umask 002 fi |
LNX (Linux)
|
#!/bin/bash CMD=/usr/bin/id CURR_GID=‘eval $CMD -g‘ GID=500 if [ "$CURR_GID" -eq "$GID" ] ; then umask 002 fi |