From owner-freebsd-bugs Sun Apr 12 02:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10401 for freebsd-bugs-outgoing; Sun, 12 Apr 1998 02:40:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10390; Sun, 12 Apr 1998 02:40:01 -0700 (PDT) (envelope-from gnats) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA10104 for ; Sun, 12 Apr 1998 02:34:57 -0700 (PDT) (envelope-from volf@oasis.IAEhv.nl) Received: from oasis.IAEhv.nl (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 1392 on Sun, 12 Apr 1998 09:34:52 GMT; id JAA01392 efrom: volf@oasis.IAEhv.nl; eto: freebsd.org!freebsd-gnats-submit Received: from LOCAL (volf@localhost) by oasis.IAEhv.nl (8.8.7/1.63); pid 2344 on Sun, 12 Apr 1998 08:58:23 GMT; id IAA02344 efrom: volf; eto: UNKNOWN Message-Id: <199804120858.IAA02344@oasis.IAEhv.nl> Date: Sun, 12 Apr 1998 08:58:23 GMT From: volf@oasis.IAEhv.nl (Frank Volf) Reply-To: volf@oasis.IAEhv.nl To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: volf@oasis.IAEhv.nl X-Send-Pr-Version: 3.2 Subject: docs/6279: portindex not executable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6279 >Category: docs >Synopsis: portindex not executable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 12 02:40:00 PDT 1998 >Last-Modified: >Originator: Frank Volf >Organization: Frank Volf's private UUCP site, Eindhoven, the Netherlands >Release: FreeBSD 2.2.6-STABLE i386 >Environment: >Description: The perl script portindex in the www tree is not executable. You have to make it executable by hand. Every time the script changes, cvs update restores the old permissions. >How-To-Repeat: run make in the top level WWW tree ...... ===> gifs ===> ports rm -f *.sgml ./portindex ports/INDEX ./portindex: not found >Fix: Several possible, e.g.: 1) chmod 755 of the script in the CVS tree 2) chmod 755 in www/data/ports/Makefile 3) apply this patch Index: Makefile =================================================================== RCS file: /home2/CVS/www/data/ports/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 1998/04/08 16:48:59 1.7 +++ Makefile 1998/04/12 08:49:15 @@ -1,6 +1,6 @@ # $Id: Makefile,v 1.7 1998/04/08 16:48:59 wosch Exp $ -PORTINDEX= ./portindex +PORTINDEX= perl ./portindex INDEX= ports/INDEX COOKIE= ${INDEX} Makefile.gen Personally, I prefer the last solution, because it works using whatever permissions the script is committed. Thankx, Frank p.s.: there might be similar problem in the Japanse Web pages >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message