<div dir="ltr">On Tue, May 14, 2013 at 6:09 PM, Carl Brewer <span dir="ltr"><<a href="mailto:carl@bl.echidna.id.au" target="_blank">carl@bl.echidna.id.au</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">so --archive will overwrite permissions on files that it's not replacing?</span><br>

</div></blockquote></div><div><br></div><div style>Yes, but you need to be very sure that it doesn't overwrite changed files that you wanted to keep.  For safety, you can use --backup along with --backup-dir and check the backup files to see if anything was superseded that shouldn't be.</div>

<div style><br></div><div style>However if I were wanting to just reset permissions, I'd use the file-attr-restore perl script in the support directory.  It parses the output of a find -ls run (which is generated on the host that has the good permissions).  It does not try to fix up any xattrs or acls, though (if you should need that).</div>

<br>..wayne..
</div></div>