mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-26 10:55:20 -04:00
sanity test
This commit is contained in:
parent
dee195d89e
commit
547ba91d79
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ home_folder_access_rights_lockdown() {
|
||||||
if [ ! -d "$folder_name" ]; then
|
if [ ! -d "$folder_name" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
if [ "$folder_name" = "/home/" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p /var/cache/security-misc/state-files
|
mkdir -p /var/cache/security-misc/state-files
|
||||||
echo "$0: chmod o-rwx \"$folder_name\""
|
echo "$0: chmod o-rwx \"$folder_name\""
|
||||||
chmod o-rwx "$folder_name"
|
chmod o-rwx "$folder_name"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue