Thanks for the quick response.
Yes I have and even chown but since this is a wx function hence it did not work. Still outputs as “read only"