We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b529f00 commit 2628e38Copy full SHA for 2628e38
lgsm/modules/check_permissions.sh
@@ -225,7 +225,12 @@ fn_sys_perm_error_process() {
225
226
## Run permisions checks when not root or docker.
227
if [ "$(whoami)" != "root" ] && [ ! -f /.dockerenv ]; then
228
- fn_check_ownership
+ if [ "${skipownershipcheck}" != "on" ]; then
229
+ fn_check_ownership
230
+ else
231
+ fn_print_warn_nl "Skipped permission check"
232
+ fn_script_log_warn "Skipped permission check"
233
+ fi
234
fn_check_permissions
235
if [ "${commandname}" == "START" ]; then
236
fn_sys_perm_error_process
0 commit comments