Displaying 1 result from an estimated 1 matches for "setgid_dirs".
2004 Mar 17
1
setgid on directories
...ure on Aix or Linux).
I made the following changes to make rsync set the group id bit on new
directories. It seems to work
fine for what I needed. I doubt you'll want to include the patch but
thought someone might say if this
is a bad way to do it, or have a better way to do it.
I added the --setgid_dirs option to enable it. I catch incoming rsync
connections in a script run as a
forced command by ssh, reject connections if the -p option is set, and add
in my --setgid_dirs option.
The patch is incomplete since the option doesn't get passed to a remote
call. If there's any interest in
addi...