corrected permissions for data