removing read only permissions