On Thu, Oct 13, 2005 at 06:08:40PM -0500, Albert Chin wrote:
> On Tue, Oct 11, 2005 at 05:20:03PM +0200, Petr Skovron wrote:
> >
> > I discovered that directories created by scp when recursive
> > copying into a sgid directory do not inherit the sgid bit. I believe
> > this is a bug. A patch to fix this is attached.

>
> Does rcp do so?


The version
/* $OpenBSD: rcp.c,v 1.41 2005/03/31 18:39:21 deraadt Exp $ */
seems to behave the same, with the respective code around lines 677
(mkdir) and 689 (chmod).

> albert chin (china@thewrittenword.com)


Petr Sk

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev