#!/bin/ksh #Find any file or directory whose 2nd or 3rd w bit is on. #These are the files that can be overwritten, #and the directories from which files can be stolen. for loginname in `~mm64/bin/roster 45 | grep -v '^mm64$'` do find ~$loginname \ '(' -type f -o -type d ')' \ '(' -perm -020 -o -perm -002 ')' \ -ls 2> /dev/null done exit 0