corrected permission problems when deleting due to REC_PATH