setuid/setgid bits

Wayne Davison wayned at
Thu Jul 7 17:27:53 GMT 2005

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



More information about the rsync mailing list