I am having an issue with Win32::Perms and applying security groups with long names?
I create a group "this.is.a.very.long.security.group.name.that.does.not.work" under the domain MYDOMAIN
code is as below
my $folder = "C:\\MyFolder";
my $permission = new Win32::Perms( $folder ) or print $!;
$permission->Allow("MYDOMAIN\\this.is.a.very.long.security.group.name.that.does.not.work", 1179817, 3);
When I read the permissions they seem to be fine it just does not apply them?.
Any ideas why this would be?