Anyone ever see this error when using Win32::Perms?

After you grant new access rights to a folder by using Win32::Perms, then
open Windows Explorer to view the Security properties: 

"The Permissions on Folder are incorrectly ordered, which may cause some
entries to be ineffective."

Code follows:

$UserDir = "\\\\dnwfs001\\n\$\\data\\ctxtest01\\";
$login = "northamerica\\ctxtest01";

$homePerm = new Win32::Perms ($UserDir) || die "Error creating Perm object :
$UserDir";
$homePerm->Allow($login, CHANGE, CONTAINER_INHERIT_ACE ) || die "Error Add";
$homePerm->Allow($login, CHANGE, OBJECT_INHERIT_ACE ) || die "Error Add";
$homePerm->Set() || die "Error Set";
$homePerm->Close();

Matthew Allen
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to