Bash module
Provide the functions to change authorizations for the application to run.
This module changes permissions intel RAPL and local directories.
Examples:
>>> authorize_rapl()
>>> authorize_cwd(path_chosen)
The module contains the following functions:
- authorize_rapl
: A function tht changes the permissions of the Intel RAPL
directory.
- authorize_cwd
: A function tht changes the permissions of the chosen
directory.
authorize_cwd(path)
Changes the permissions of the chosen directory
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
Chosen directory |
required |
Source code in src\backend\bash.py
31 32 33 34 35 36 37 38 39 |
|
authorize_rapl()
Changes the permissions of the Intel RAPL directory
Source code in src\backend\bash.py
20 21 22 23 24 25 26 27 28 |
|