Win32::Perms and ACL order

C

Colin Chaplin

I've written a little program that adds permissions to files, making use of
win32::perms, and it's working quite well.

The only problem I have is that when I view the security tab under windows,
I get an error message about "The permissions on filename are incorrectly
ordered, which may cause some entries ..."

I gather this is because there is a set order for DACLS an I'm guessing the
win32::perms is just lumping my new DACL at the end.

Question is, how to fix it. My first attempt (wipe all ACLS, then apply a
new, ordered list) failed because (I think) after I've wiped the URLS there
are no longer any permissions do anything to the file.

I'm a little stuck here. Anyone got any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
DewittMill
Top