#!/bin/bash
until ["$input"= 'no']
do
echo "Enter the name of file to change permissions"
read filename
chmod 777 $filename
echo "$filename permissions has been changed"
echo "Would you like to change the permissions of another file?(yes or no)"
read input
done
echo "You typed: $input"