Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 1998 08:58:23 GMT
From:      volf@oasis.IAEhv.nl (Frank Volf)
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        volf@oasis.IAEhv.nl
Subject:   docs/6279: portindex not executable
Message-ID:  <199804120858.IAA02344@oasis.IAEhv.nl>

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

>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



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