Show warning when trying to resize a readonly file