On Tue, Jan 06, 2009 at 04:35:30PM -0800, johan...@sun.com wrote: > > I'm not sure what to do here then; I can't see an os.stat() being done > > for every single add_fmri being great for publishing performance. > > This might be an inane question, but why bother with __set_perms() at > all? Can you just chmod the tmpfile to 644 before you rename it into > the catalog directory?
That raises another good point -- right now the chmod happens after the rename, which means there's a window of 0600 exposure. Danek _______________________________________________ pkg-discuss mailing list pkg-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/pkg-discuss