Re: Patch: --drop-suid Remove suid/sgid from target files

2002-03-12 Thread Martin Pool
On 12 Mar 2002, Dave Dykstra <[EMAIL PROTECTED]> wrote: > If we would add an option to do that functionality, I would vote for one > that was more general which could mask off any set of permission bits and > possibly add any set of bits. Perhaps a chmod-like syntax if it could be > implemented s

Re: Patch: --drop-suid Remove suid/sgid from target files

2002-03-12 Thread Dave Dykstra
If we would add an option to do that functionality, I would vote for one that was more general which could mask off any set of permission bits and possibly add any set of bits. Perhaps a chmod-like syntax if it could be implemented simply. - Dave On Tue, Mar 12, 2002 at 10:28:43PM +1100, Scott

Patch: --drop-suid Remove suid/sgid from target files

2002-03-12 Thread Scott Howard
The attached patch adds an option --drop-suid which caused rsync to drop setuid/setgid permissions from the destination files. ie, even if the source file is setuid, the target file will not be. Added as we want to rsync the same files to machines both inside and outside our firewalls. For ma