.. _File.readonly: ================================================ File.readonly ================================================ bool **readonly** Description ----------- When true, prevents the file from being altered or deleted. If the referenced file is a file-system alias or shortcut, the flag is altered on the alias, not on the original file.