How to remove readonly attributes

Hi is it possible to remove the read only attributes in my textfile using php code?

Thank you in advance.