set read-only files as read-write