Dear Monks, Fellow wisdom seekers and alike. I have a problem as so many others. I'm trying to randomize an ACL setting string for a test i write in perl. I did not no much of ACL until now. I had to learn how to use it. But now i've got a problem as follow. The ACL overwrites the previous settings. So the owner will disappear and replaced by the newly created ACL string which says : Everyone. I'm not able to set an ACL for the owner as if : domain\user because it says it cannot find the SID. i tried s:n and s:y also. the problem is the file which will be created will be on another domain. So it tends to be the problem that the created files cannot be accessable by anybody... No view now delete no permissions whatsoever, although the ACL string seams to be well. Exm: setacl.exe -on "z:\test8lhmJ.xls" -ot file -actn ace -ace "n:Everyone;s:n;i:so;p:read" -actn setprot -op "dacl:np" So can i somehow append ACL settings or at least is there a fine way to just copy the current ACL settings and use them also? Or should i abandon the system use of setacl or calcls ... ? Thank you for your answer in advice, Gergely.

In reply to SetACL problems by Skarlso

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.