Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 23:16:16 -0400 (EDT)
From:      Chris Pepper <pepper@rockefeller.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Jeremy Shaffner <jeremy@external.org>
Subject:   ports/51610: rmagic.sample (config file) & sample.dat (log file) are executable
Message-ID:  <20030430031616.AE63AFDC9@www.reppep.com>
Resent-Message-ID: <200304300320.h3U3KE2e016499@freefall.freebsd.org>

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

>Number:         51610
>Category:       ports
>Synopsis:       rmagic.sample (config file) & sample.dat (log file) are executable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 29 20:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pepper
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD www.reppep.com 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #7: Mon Feb 24 22:34:00 EST 2003 root@www.reppep.com:/usr/obj/usr/src/sys/REPPEP i386


	
>Description:
	After installing reportmagic 2.21 from ports, a config file and a log file are both executable. They don't appear to be executable in the base tarball.
	
>How-To-Repeat:
portinstall rmagic
www# cd /usr/local/reportmagic/
www# ls -l
total 68
-rw-r--r--   1 root  wheel   1703 Apr 29 23:10 README
-rw-r--r--   1 root  wheel    524 Apr 29 23:10 analogo.png
drwxr-xr-x  19 root  wheel    512 Apr 29 23:10 lang
drwxr-xr-x   2 root  wheel    512 Apr 29 22:21 reports
-rwxr-xr-x   1 root  wheel  36710 Apr 29 23:10 rmagic.pl
-rwxr-xr-x   1 root  wheel    782 Apr 29 23:10 rmagic.sample
-rw-r--r--   1 root  wheel   3729 Apr 29 23:10 rmlogo.png
-rwxr-xr-x   1 root  wheel  14029 Apr 29 23:10 sample.dat
drwxr-xr-x   3 root  wheel    512 Apr 29 23:10 samples
drwxr-xr-x   3 root  wheel    512 Apr 29 23:10 wadg
www# file sample.dat rmagic.sample 
sample.dat:    ASCII text, with CRLF line terminators
rmagic.sample: ASCII English text

	
>Fix:
	Remove execute permission from rmagic.sample & sample.dat.

	


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



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