Return to security CVS log | Up to [local] / src / etc |
version 1.80, 2008/04/17 19:49:16 | version 1.81, 2008/07/23 16:05:47 | ||
---|---|---|---|
|
|
||
# world-readable. | # world-readable. | ||
for f in /etc/hostname.* ; do | for f in /etc/hostname.* ; do | ||
if [ "$(stat -f "%SLp" $f)" != "---" ]; then | if [ ! -e $f ]; then | ||
continue | |||
fi | |||
if [ "$(stat -Lf "%SLp" $f)" != "---" ]; then | |||
echo "\n$f is world readable." | echo "\n$f is world readable." | ||
fi | fi | ||
done | done |