How does the chmod function work on Win32 platforms?
chmod() will execute as expected in Perl for Win32. However, it may not have the results you want. [Can someone tell me what works and what doesn’t? -ESP] UNIX-style security for files is not applicable to files on Win32 systems. Win32 systems inherit from DOS four possible “file attributes”: archived (A), read-only (R), hidden (H), and system (S). These can be checked and set with the Win32::File::Get/SetAttributes(). Windows NT systems using NTFS can also have more specific permissions granted on individual files to users and groups. In build 110, you can retrieve and set these by running the CACLS program (type HELP CACLS at the command line for details). For builds 300 and above, you can use the Win32::FileSecurity module to maintain file permissions.