#!/bin/bash

for f in *.cc; do
    b=`basename $f .cc`
    chmod a+r $f
    chmod a+rx $b
done  
