X-Spam-Check-By: sourceware.org Message-ID: <450EA7E2.7010804@cygwin.com> Date: Mon, 18 Sep 2006 10:06:26 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rsync 2.6.6.1 changed ACL behaviour? References: <97ef4c810609170155u3836d6a5s17335f29a8dd8acb AT mail DOT gmail DOT com> <97ef4c810609172244p1695a0f6qac4dc4f89210e6ff AT mail DOT gmail DOT com> In-Reply-To: <97ef4c810609172244p1695a0f6qac4dc4f89210e6ff@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mattias wrote: > Using rsync to update my web site on a Windows 2003 Server using the > following command > > rsync --archive --stats /cygdrive/c/data/publish/ -e ssh > ntuser AT www DOT domain DOT com:/cygdrive/c/Inetpub/ssc2 > > Worked fine for a year. Great! > Stopped working recently. rsync doesn't set the ACL correctly. rsync > sets the rights of the Users user to nothing at all, which makes the > web site not work at all. (I have switched my laptop since it last > worked and reinstalled cygwin.) So what changed? > After running rsync, I have to go to the server, opening the security > dialog for the directory, pressing advanced, selecting > > "Replace permission entries on all child objects with enties shown > here that apply child objects" > > These are the default permissions, so why doesn't rsync use them. > Which permissions do rsync use? Depends on your configuration. See the User's Guide for more details on permissions. If you have a follow-up question, please read and follow the problem reporting guidelines found here: > -- Mattias > > P.s. Is there a simple way in cygwin setup.exe to just revert to an > older version of a single package, in my case rsync 2.6.3? The trivial case is to rerun "setup.exe" and just install the previous version. If there are dependencies, this could be a more complex problem. You may need to downgrade practically everything to make this work out. :-( But I'd start with the easy option and proceed from there. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/