Win32::Perms and ACL order

Discussion in 'Perl Misc' started by Colin Chaplin, Jun 5, 2007.

  1. 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?
    Colin Chaplin, Jun 5, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kj
    Replies:
    0
    Views:
    305
  2. Une Bévue

    prob with File.open and perms

    Une Bévue, Jan 27, 2007, in forum: Ruby
    Replies:
    2
    Views:
    115
    Une Bévue
    Jan 27, 2007
  3. $_@_.%_

    nix file perms

    $_@_.%_, Jan 22, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    75
    $_@_.%_
    Jan 22, 2004
  4. perl coder

    Win32::FileSecurity doesn't show all perms?

    perl coder, Apr 2, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    253
  5. Bruno Ethvignot
    Replies:
    0
    Views:
    110
    Bruno Ethvignot
    Jul 21, 2004
Loading...

Share This Page