* trying to change ownership will fail if we aren' root.  That's
* trying to change ownership will fail if we aren't root.  That's
ffwopen(fn, bp)	char   *fn;	BUFFER *bp;{	if ((ffp = fopen(fn, "w")) == NULL) {		ewprintf("Cannot open file for writing : %s", strerror(errno));		return (FIOERR);	}	/*	 * If we have file information, use it.  We don't bother to check for	 * errors, because there's no a lot we can do about it.  Certainly	 * trying to change ownership will fail if we aren' root.  That's	 * probably OK.  If we don't have info, no need to get it, since any	 * future writes will do the same thing.	 */	if (bp && bp->b_fi.fi_mode) {		chmod(fn, bp->b_fi.fi_mode & 07777);		chown(fn, bp->b_fi.fi_uid, bp->b_fi.fi_gid);	}	return (FIOSUC);}