On Wed, Jul 06, 2005 at 02:42:56PM +0100, Gordon Lack wrote:
> What I would like to be able to do is to get the target files to have
> the source permissions *except* any setuid/setgid setting.  Is this
> possible?

You should check into the patches/chmod-option.diff -- that provides an
option, --chmod, that would let you tell rsync to clear all set-id bits
on files (while leaving dirs alone):

    --chmod=F-s

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