change permissions on directories (#11)