You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ryan Morgan <rm...@covalent.net> on 2000/02/07 02:17:10 UTC

os-dgux/5715: install-bindist.sh sets wrong permissions

>Number:         5715
>Category:       os-dgux
>Synopsis:       install-bindist.sh sets wrong permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Feb 06 17:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     rmorgan@covalent.net
>Release:        1.3.11
>Organization:
apache
>Environment:
DGUX 4.x
>Description:
Binary distribution's are broken on DGUX.  install-bindist.sh sets the mode 640
on the modules in the libexec directory, but the libhttpd.ep file needs to be executable.
If it is not, apache exits with the error "Cannot execute binary file: libhttpd.ep".

When the mode is set to 750, everything works fine.  Would setting the fmode on the
libexec directory cause any problems?  If this is not a problem, a patch is attached.
>How-To-Repeat:

>Fix:
*** binbuild.sh.old     Sun Feb  6 19:12:36 2000
--- binbuild.sh Sun Feb  6 19:13:29 2000
***************
*** 201,207 ****
    echo "lmkdir \$SR/proxy 750" && \
    echo "lmkdir \$SR/logs 750" && \
    echo "lcopy bindist/man \$SR/man 755 644" && \
!   echo "lcopy bindist/libexec \$SR/libexec 750 644" && \
    echo "lcopy bindist/include \$SR/include 755 644" && \
    echo "lcopy bindist/icons \$SR/icons 755 644" && \
    echo "lcopy bindist/cgi-bin \$SR/cgi-bin 750 750" && \
--- 201,207 ----
    echo "lmkdir \$SR/proxy 750" && \
    echo "lmkdir \$SR/logs 750" && \
    echo "lcopy bindist/man \$SR/man 755 644" && \
!   echo "lcopy bindist/libexec \$SR/libexec 750 755" && \
    echo "lcopy bindist/include \$SR/include 755 644" && \
    echo "lcopy bindist/icons \$SR/icons 755 644" && \
    echo "lcopy bindist/cgi-bin \$SR/cgi-bin 750 750" && \
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]