Project

General

Profile

Actions

Bug #25857

open

CIS Debian11 section 1.7 : Resource scripts called are not executable

Added by Michel BOUISSOU 22 days ago. Updated 21 days ago.

Status:
Pending release
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Resource scripts called from the resources dir in section1_7.k for 1.7.2, 1.7.3, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10 are called with i.e :

command = r"/usr/bin/env ${resources_dir}/1_7_9_gdm_autorun_not_overridden.sh"

But all those scripts don't have the executable bit set, so they cannot execute and always return failure.

They should be called with i.e. “env /bin/bash myscript.sh” instead.

Actions

Also available in: Atom PDF