mirror of https://github.com/CISOfy/lynis.git
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…
Reference in New Issue