mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 00:42:42 -04:00
parent
7467252122
commit
02165201ab
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@
|
||||||
config_file="/etc/permission-hardening.conf"
|
config_file="/etc/permission-hardening.conf"
|
||||||
|
|
||||||
set_file_perms() {
|
set_file_perms() {
|
||||||
while read line
|
while read -r line; do
|
||||||
do
|
|
||||||
[[ "$line" =~ ^#.*$ ]] && continue
|
[[ "$line" =~ ^#.*$ ]] && continue
|
||||||
|
|
||||||
file="$(awk '{print $1}' <<< ${line})"
|
file="$(awk '{print $1}' <<< ${line})"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue