I've run into a slight problem trying to modify permissions on folders. When I 
use Win32::Perms::Add to add permissions then go to explorer [on Win2k] to view 
them I get the error:

The permissions on folder are incorrectly ordered, which may cause some entries 
to be ineffective. Press OK to continue and sort the permissions correctly, or 
Cancel to reset the permissions.

I've read chapter 11 of Dave's TSE book forwards and backwards and I think I 
know what's going on. This only happens with folders that have inherited ACEs 
from their parent. It seems that explorer wants all of the inherited ACEs to be 
at the bottom of the DACL. So is there any way to have Win32::Perms add the ACE 
to the top? Or do I need to read all the permissions from the directory, create 
a new DACL from scratch, and then apply it over the old directory?

Or is there something I missed completely?

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

Reply via email to