#!/bin/ksh
#Script to change permissions for gopher files and directories
#Sets them so files are world-readable and non-executable
#and directories are world-readable and executable
#commands taken from SDF Gopher tutorial page

find ~/gopher/ -type f -print0 | xargs -0 chmod 644
find ~/gopher/ -type d -print0 | xargs -0 chmod 755
print "permissions set"

exit