mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Removing changes from another branch
This commit is contained in:
parent
09c03ce222
commit
c7b73837db
@ -3103,11 +3103,6 @@
|
|||||||
unsafe=1
|
unsafe=1
|
||||||
LogText "Security alert: file is not owned by active user, but can write to it"
|
LogText "Security alert: file is not owned by active user, but can write to it"
|
||||||
fi
|
fi
|
||||||
# File is not owned by active user, and not readable by him
|
|
||||||
if [ ! -O "${FILE}" -a ! -r "${FILE}" ]; then
|
|
||||||
unsafe=1
|
|
||||||
LogText "Security alert: file is not readable by active user"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check file permissions
|
# Check file permissions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user