Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I recently installed 5.12.2, and I was poking about and noticed perl.exe doesn't have the read only attribute
$ attrib C:\perl\5.12.2\lib\strict.pm A R C:\perl\5.12.2\lib\strict.pm $ attrib C:\perl\5.12.2\bin\perldoc.bat A R C:\perl\5.12.2\bin\perldoc.bat $ attrib C:\perl\5.12.2\bin\MSWin32-x86-multi-thread\perl.exe A C:\perl\5.12.2\bin\MSWin32-x86-multi-thread\perl.exe
All the other files are marked read only except those in perl -V:installbin

I poked about the source tree, but I couldn't find where these attributes are set. This makes it seem they're set by default but where?

perl\win32/Makefile: attrib -r ..\t\*.* perl\win32/makefile.mk: attrib -r ..\t\*.*
Any idea why they aren't read only?

Thanks

Replies are listed 'Best First'.
Re: perl.exe is not marked read only
by tod222 (Pilgrim) on Oct 17, 2010 at 02:55 UTC

    I think it might be helpful to know if it's the Strawberry or ActiveState version.

    Other than that, I can't say, as I'm not a Windows user.

      Both strawberry and activestate, and hand built; they all use the same build code.