Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the chmod function work on Win32 platforms?

chmod function platforms Win32
0
10 Posted

How does the chmod function work on Win32 platforms?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123