On Wed, 19 Mar 2008 09:22:24 +0800 Rong-En Fan <[EMAIL PROTECTED]> mentioned:
> On Tue, Mar 18, 2008 at 08:56:47PM +0300, Stanislav Sedov wrote: > > On Tue, 18 Mar 2008 17:54:27 +0100 > > Pav Lucistnik <[EMAIL PROTECTED]> mentioned: > > > > > Stanislav Sedov píše v út 18. 03. 2008 v 19:50 +0300: > > > > On Tue, 18 Mar 2008 17:43:08 +0100 > > > > Pav Lucistnik <[EMAIL PROTECTED]> mentioned: > > > > > > > > > > It will also change permissions on all files already present in the > > > > > target directory, I think. Which might not be a desirable thing. > > > > > > > > > > > > > Indeed, I know. That's why I'm asking if it'll be desirable. > > > > > > It's a COPYTREE_* bug that needs to be fixed, actually. > > > > > > > Why you think it's a bug? COPYTREE_* was intentionally designed to set > > specific permissions on files written. > > > > Of course, we can implement a version of COPYTREE that doesn't set any > > permissions on files, but it'll be effectively just a 'cp -rf'. > > I think what Pav said is > > 1) copy these files into destdir/ > 2) set permissions on *those files* just copied in destdir/ > > what COPYTREE_* currently does is > > 2) set permission on *all files* in destdir/ > Ah, it makes sense then. I'll look into that. -- Stanislav Sedov ST4096-RIPE _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
