chown and chmod cache dir too
Merge pull request #8 from ktsaou/calc_on_sec

chown and chmod cache dir too