strip setuid/setgid bits on backup

Brad Van Orden brad.vanorden at
Tue Jul 9 11:53:28 EST 2002

Dan Stromberg wrote:
> On Mon, Jul 08, 2002 at 02:04:57PM -0700, jw schultz wrote:
> > The default behavior should not modify files.  The general
> > purpose is to have the copies be the same as the original.
> > A general --chmod or --pmask option might be acceptable for
> > modifying the permissions flags but would need to be applied
> > in generator as well as reciever.
> We're not modifying the content of files; we're eliminating security
> holes.  Surely folks see the sense of this?

I think any tool should be as simple as possible.  rsync should do nothing
beyond synchronizing files/directories between systems.  If you need 
something beyond that, you should use an additional tool or another tool.


Brad Van Orden
Navius Technologies

More information about the rsync mailing list