Skip to content

Commit

Permalink
Merge pull request #12855 from jan-cerny/file_permissions_etc_audit_r…
Browse files Browse the repository at this point in the history
…ulesd

Fix file_permissions_etc_audit_rulesd in Image Mode
  • Loading branch information
matusmarhefka authored Jan 20, 2025
2 parents 78f47a1 + 5e183ab commit b813196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/macros/10-bash.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,7 @@ if [ "$skip" -ne 0 ]; then
auid_string=$([[ {{{ auid_filters }}} ]] && echo " {{{ auid_filters }}}") || /bin/true
full_rule="{{{ action_arch_filters }}}${syscall_string}${other_string}${auid_string} -F key={{{ key }}}" || /bin/true
echo "$full_rule" >> "$default_file"
chmod o-rwx ${default_file}
chmod 0600 ${default_file}
else
# Check if the syscalls are declared as a comma separated list or
# as multiple -S parameters
Expand Down

0 comments on commit b813196

Please sign in to comment.