rm -rf temp
echo foo >foo
mkdir temp
attrib +R temp
chmod a-w temp
./my_rename


