Shouldn't that be
Win32::FileSecurity::Get($dir, \%permissions) or die $!; $permissions{ 'Everyone' } = MakeMask( qw( READ GENERIC_READ GENERIC_EXECUTE ) ); Win32::FileSecurity::Set($dir, \%permissions) or die $!;
I get a mask of -1609432919. Where did you get 1180095 from?
In reply to Re: Modifying NTFS File Permissions
by ikegami
in thread Modifying NTFS File Permissions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |