bin/67137: newsyslog does not set correct user/group on the compression

James E. Housley jeh at thehousleys.net
Mon May 24 13:40:25 PDT 2004


>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 at 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:


More information about the freebsd-bugs mailing list