Automation studio, what does lock symbol mean?


What are the locks near parts of my program? They appear everywhere. What is it?

Hi,

that means that the files are write-protected by Windows file system.
If it appears everywhere, maybe the complete project folder is write protected. In past, I’ve seen such a behavior if the folder was copied from a read-only storage like cd-/dvd-rom.

Here you can find more infos about additional icons in logical view.

Best regards.

Thank you for help. But I have some guesses. With locks I cant save any changes? But it seems for me that I can…

Hi,

yes, normally you can’t save if file is write-protected, or at least there should be a message if AS should overrule the write protection.

I agree, it’s strange if the’re everywhere the lock symbols, but files can be written. But AS has no own file locking mechanism, it only uses mechanisms provided by the underlying file system, or, if used, from a version control system that makes use of the file systems file attributes/flags.
Do you use a version control system, or is/was the project does the project under version control?

If you don’t use actively version control in this project, I would propose to close the project in AS, check the project root folder properties with Windows explorer if read-only is (partial) set (the read-only attribute checkbox is then grey and checked), and if yes remove the read-only flags by unchecking the checkbox (this is done then recursively by Windows explorer).

AS itself sets some files in the projects /Temp directory to read-only when a compile is running, but that’s the only AS mechanism I know where file attributes are set / used by AS.

Best regards.

PS: maybe, AS also interpretes the “archive” file attribute? I’m not sure about, sorry. But if archive attribute also would lead to the symbol, it would at least explain why files still are writable, so you could check this attribute also.