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:
|
|