-p option in man and help [Was: Rsync / SSH / Cygwin .. permission problems..]

jw schultz jw at pegasys.ws
Sun Jun 1 04:20:41 EST 2003


On Sat, May 31, 2003 at 11:51:25AM +0200, Lapo Luchini wrote:
> jw schultz wrote:
> 
> >On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote:
> > 
> >
> >>Actually it seems to me the opposite: it has perms also without -p... 
> >>maybe it is the default?
> >>   
> >>
> >Without -p new files get perms of source as modified by
> >umask.
> >
> Ohhh.
> Maybe it's just me, but wouldn't
> -        -p, --perms                 preserve permissions
> +        -p, --perms                 preserve permissions (do not filter 
> them by umask)
> be good for people that don't know it?

No.  Without -p permissions are only copied for new files.
Existing files are unchanged.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list