#! /bin/sh # # Filename: public # # Programmer: Br. David Carlson # # Date: March 26, 1994 # # This Bourne shell program gives read permission to everyone for # the file given as the command line parameter. # if [ $# -eq 1 ] # There should be 1 parameter then chmod g+r,o+r "$1" # Give read permission to group, other else echo "One parameter needed, the name of the file to modify" fi