Great Circle Associates Majordomo-Workers
(October 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Latest cvs: make install problem
From: "Randall S. Winchester" <rsw @ Glue . umd . edu>
Date: Sat, 3 Oct 1998 02:03:34 -0400 (EDT)
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: <Pine.GSO.3.95q.981003012112.17203A-100000@atlantis.csc.umd.edu>

On Sat, 3 Oct 1998, Randall S. Winchester wrote:

: 
: /usr/local/bin/perl -w postinstall
: Setting permissions:............................ok
: Can't copy /usr/local/majordomo/bin/mj_confirm to
: /var/www/scripts/mj_confirm, Permission denied. at postinstall line 180.
: 
: humm:
: cp /usr/local/majordomo/bin/mj_confirm /var/www/scripts/
: cp: cannot open /usr/local/majordomo/bin/mj_confirm: Permission denied
: atlantis /:/project/glue/majordomo/mj2/majordomo; ls -l /usr/local/majordomo/bin/mj_confirm
: ---s--s--x   1 majordom majordom    5564 Oct  3 01:10 /usr/local/majordomo/bin/mj_confirm
: 
: atlantis /:/project/glue/majordomo/mj2/majordomo; chmod u+r /usr/local/majordomo/bin/mj_confirm
: atlantis /:/project/glue/majordomo/mj2/majordomo; cp /usr/local/majordomo/bin/mj_confirm /var/www/scripts/
: atlantis /:/project/glue/majordomo/mj2/majordomo; ls -l /usr/local/majordomo/bin/mj_confirm
: -r-s--s--x   1 majordom majordom    5564 Oct  3 01:10 /usr/local/majordomo/bin/mj_confirm

The following worked for me.


diff -u -r1.1 postinstall
--- postinstall 1998/10/03 05:27:24     1.1
+++ postinstall 1998/10/03 05:37:07
@@ -209,7 +209,7 @@
   # Make executables setuid; the scripts must be readable while the the
   # wrappers need only be executable.
   if ($config->{'wrappers'}) {
-    chmod(06111, @$sidscripts) || die "Couldn't change mode: $!";
+    chmod(06511, @$sidscripts) || die "Couldn't change mode: $!";
   }
   else {
     chmod(06555, @$sidscripts) || die "Couldn't change mode: $!";




References:
Indexed By Date Previous: Latest cvs: make install problem
From: "Randall S. Winchester" <rsw@Glue.umd.edu>
Next: Re: Regexp wizard
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Latest cvs: make install problem
From: "Randall S. Winchester" <rsw@Glue.umd.edu>
Next: Re: Latest cvs: make install problem
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com