11 echo "Removing any core files ..."
12 find -type f -name core -print0 | xargs -0r rm -v
14 echo "Checking permissions on files in the FTP tree ..."
15 find -type f \( \! -perm -444 -o -perm +002 \) -ls
16 find -type d \( \! -perm -555 -o -perm +002 \) -ls
18 echo "Checking symlinks ..."
21 echo "Creating recursive directory listing ... "
23 TZ=UTC ls -lR | grep -v Archive_Maintenance_In_Progress > .$filename.new
25 if [ -r ${filename}.gz ] ; then
26 mv -f ${filename}.gz $filename.old.gz
27 mv -f .$filename.new $filename
28 rm -f $filename.patch.gz
29 zcat $filename.old.gz | diff -u - $filename | gzip --rsyncable -9cfn - >$filename.patch.gz
30 rm -f $filename.old.gz
32 mv -f .$filename.new $filename
35 gzip --rsyncable -9cfN $filename >$filename.gz