Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2004 16:33:09 -0400 (EDT)
From:      "James E. Housley" <jeh@thehousleys.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/67137: newsyslog does not set correct user/group on the compression
Message-ID:  <200405242033.i4OKX9gq070255@cat.int.thehousleys.net>
Resent-Message-ID: <200405242040.i4OKeG8a097640@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67137
>Category:       bin
>Synopsis:       newsyslog does not set correct user/group on the compression
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 24 13:40:16 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     James E. Housley
>Release:        FreeBSD 4.9-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD cat.int.thehousleys.net 4.9-RELEASE-p8 FreeBSD 4.9-RELEASE-p8 #8: Wed May 19 07:41:25 EDT 2004 root@cat.int.thehousleys.net:/usr/obj/usr/src/sys/SERVERKERNEL i386


	
>Description:
	Any entry in newsyslog.conf that specifies a user:group will
	have the wrong user:group the the xxxxx.0.gz or .bz2 file.  This
	is because at the bottom dotrim() after the compression or copy
	is done, there is no chown() done like there is done on all the
	copy statements earlier in the program.

	This affects both -STABLE and -CURRENT.

	I don't have patches yet, but will try and work some up once I
	trace filenames.

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405242033.i4OKX9gq070255>