diff --git a/src/run-policy/run-submit-pol-job.py b/src/run-policy/run-submit-pol-job.py index 716784c2ee445fc1358efe560b3f7a1f031d44d4..c69cd951123224510017ce76888da37574d895c7 100755 --- a/src/run-policy/run-submit-pol-job.py +++ b/src/run-policy/run-submit-pol-job.py @@ -21,7 +21,7 @@ def parse_args(): help="Directory to store the policy output in", default='/data/rc/gpfs-policy/data') parser.add_argument('-f','--log-prefix', type=str, - help="Prefix for the policy output file. Defaults to 'list-policy_[device-id]' where 'device-id' is the device stem when device is a path or just device when it is a fileset. The final file name will have the policy type, the job ID, and the run date tagged on the end") + help="Prefix for the policy output file. Defaults to 'list-policy_[device-id]' where 'device-id' is the device stem. The final file name will have the policy type, the job ID, and the run date tagged on the end") parser.add_argument('--with-dirs', action='store_true', help="Include directories as entries in the policy output (Default: false)") @@ -127,6 +127,9 @@ def main(): if args['log_prefix'] is None: args['log_prefix'] = create_default_log_prefix(args['device']) + # Paths to policy definitions are hard-coded here and should not be altered in any way. This script gives elevated + # permissions to run the GPFS policy engine to non-admins. These are the only two policy files non-admins should + # use. Any other policy needs should go through an admin. if args['with_dirs']: args['policy'] = './policy-def/list-path-dirplus' else: