Hi,

No I think this bug is not related. However, I am wondering : if the
directory is write-protected, even for root, that means it never changes
right ? or is it that there is no file creation, only updates ? In either
case, the better would be to treat this particular directory separately.
Suppose this directory is called "secure", you would create a "secure"
folder on the destination, with a chmod +w, then do :
rsync $SRC $DST -x secure\*
rsync $SRC/secure $DST/secure/

Greg

On Tue, Aug 7, 2012 at 7:57 AM, András Porjesz
<andras.porj...@ericsson.com>wrote:

> Hi,
> Probably it is related to this bug:
> https://bugzilla.samba.org/show_bug.cgi?id=8844
> Andras
>
> -----Original Message-----
> From: rsync-boun...@lists.samba.org [mailto:rsync-boun...@lists.samba.org]
> On Behalf Of Steven Levine
> Sent: Friday, July 27, 2012 20:15
> To: rsync@lists.samba.org
> Subject: Re: cannot rsync when source directory lacks write permission
>
> In <juuivm$ai5$1...@dough.gmane.org>, on 07/27/12
>    at 01:26 PM, "Brian J. Murrell" <br...@interlinx.bc.ca> said:
>
> Hi,
>
> >I seem to be running into a problem where I am trying to rsync from a
> >source directory that lacks write permissions (i.e. r-xr-xr-x).
> >Presumably this is because rsync creates the directory on the
> >destination, then sets the permissions to match the source and then
> >tries to sync the contents of the directory, which it cannot of course
> >lacking write permission in the directory.
>
> Rsync contains code to handle this.  What version of rsync are you running
> and what is the command line you are using and what is the exact error
> message you are getting?
>
> Regards,
>
> Steven
>
> --
> ----------------------------------------------------------------------
> "Steven Levine" <stev...@earthlink.net>  eCS/Warp/DIY etc.
> www.scoug.com www.ecomstation.com
> ----------------------------------------------------------------------
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to