mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 17:54:51 -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"
|
||||
|
||||
set_file_perms() {
|
||||
while read line
|
||||
do
|
||||
while read -r line; do
|
||||
[[ "$line" =~ ^#.*$ ]] && continue
|
||||
|
||||
file="$(awk '{print $1}' <<< ${line})"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue