Mike (and All), The situation is that I have various directories and files with deleted user accounts in the ACL. The problem is that the NetApp Filer OS lists ALL users as "Unknown Account", not just the deleted users. So I need a way to clear off the deleted users, without getting rid of everyone else. Once I do that the ACL looks "normal".
I was trying cacls.exe, but I can not grab the deleted accounts, though I can list them. The Win32:FileSecurity does what I need using: Get() Remove the deleted users from the Hash Set() When I use the Set(), it puts only those names/permission in the hash into the ACL. Additive runs (unless I am missing something) do not seem to be allowed as is seems to be an overwrite. Some of the directories contain 18+ users and groups (including the deleted user accounts). More than 17 and I get the AddAce error. 17 or fewer and it works fine. Sooooo close. Maybe the correct question is: "How do I remove "deleted" users from an ACL without losing everyone else and their permissions?" > > >Peter, >Would it be possible to nest the groups ? Or is the problem with >the total group / person entries ? >Michael >--- "Martz, Pete @ CSE" <[EMAIL PROTECTED]> wrote: >> I am having a problem using Win32::FileSecurity and Set(). >> >> I am getting: >> "Error Handling Error 122, AddAce" >> >> From what I have seen posted and tried here, the problem is >> that the ACL >> list is too long and crashes the script. >> Seems like the limit I am hitting is 18 users / groups in the >> ACL.. >> It will work on the directory when I remove one user and have >> 17 users / >> groups in the ACL. >> Is that correct? >> >> Does anyone know of a work around to this or what specifically >> is going on? >> >> Much thanks in advance. >> >> Peter Martz >> L-3 Communications >> (856) 338-4050 >> >> _______________________________________________ >> Perl-Win32-Admin mailing list >> [EMAIL PROTECTED] >> >http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin > > >__________________________________________________ >Do You Yahoo!? >Listen to your Yahoo! Mail messages from any phone. >http://phone.yahoo.com >_______________________________________________ >Perl-Win32-Admin mailing list >[EMAIL PROTECTED] >http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin > _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
