Show non-compliant library files
This commit is contained in:
parent
676fb374e2
commit
45e70c80f2
|
@ -7,6 +7,7 @@ if [ -d "/lib" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
find -L /lib \! -user root -exec ls -l {} \; | grep -v '> /dev/null'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
@ -17,6 +18,7 @@ if [ -d "/lib64" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
find -L /lib64 \! -user root -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
@ -27,6 +29,7 @@ if [ -d "/usr/lib" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
find -L /usr/lib \! -user root -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
@ -37,6 +40,7 @@ if [ -d "/usr/lib64" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
find -L /usr/lib64 \! -user root -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue