ports/111974: directory permission error in graphics/peps

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Sat Apr 21 04:00:11 UTC 2007


>Number:         111974
>Category:       ports
>Synopsis:       directory permission error in graphics/peps
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 21 04:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.2-STABLE FreeBSD 6.2-STABLE #6: Thu Apr 19 11:11:18 JST 2007 turutani at polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	permission of directory created by the installation of graphics/peps is
	wrong; users other than root cannot list the directory.
	
>How-To-Repeat:
	install graphics/peps from ports or install peps-2.0 via packages.
	% ls ${PREFIX}/share/doc/peps-2.0
	ls: .: Permission denied
	ls: ..: Permission denied
	ls: peps.pdf: Permission denied
	total 0

	
>Fix:
	here is a patch:
	% cat /usr/ports/graphics/peps/files/patch-Makefile
	--- Makefile.orig       Wed Jan 26 11:13:14 2005
	+++ Makefile    Sat Apr 21 12:42:41 2007
	@@ -85,7 +85,7 @@
	 	install -p -m 755 peps${BINEXT} ${BINDIR}
	 	install -p -m 444 peps.1 ${MAN1DIR}
	 	install -p -m 644 peps.mime ${ETC}
	-	mkdir -m 644 -p ${DOCS}
	+	mkdir -m 755 -p ${DOCS}
	 	install -p -m 444 peps.pdf ${DOCS}
	 	touch -r peps.c ${DOCS}

	


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



More information about the freebsd-ports-bugs mailing list