On Fri, 2009-02-06 at 09:32 -0500, Matthew Monaco wrote:
> Is it possible to set the permissions on the destination side?  As I
> understand it, --chmod just pretends certain permissions are coming from
> the sending side.

If you use --chmod with -p, you'll end up setting the destination
permissions.

> I'd like to be able to set permissions to readonly in
> the destination while coming from a --copy/link-dest which may more may
> not have had it's permissions changed.

With --chmod and -p, the receiver will locally copy any --link-dest
files that have the right data but the wrong permissions.  This will
give you the permissions you desire in the destination without changing
any permissions in the --link-dest dir.

-- 
Matt

-- 
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