Commit f5df1f0f authored by mac's avatar mac

Fix taint checking problem and a typo. Make installed dirs not writable by group/others.

parent df16a24e
......@@ -53,6 +53,10 @@ script-install: $(addprefix $(INSTALL_BINDIR)/, $(BIN_STUFF)) \
$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_STUFF))
post-install:
chmod go-w $(INSTALL_BINDIR)
chmod go-w $(INSTALL_SBINDIR)
chmod go-w $(INSTALL_LIBDIR)
chmod go-w $(INSTALL_LIBEXECDIR)
chown root $(INSTALL_LIBEXECDIR)/mkprojdir
chmod u+s $(INSTALL_LIBEXECDIR)/mkprojdir
chown root $(INSTALL_LIBEXECDIR)/rmprojdir
......
......@@ -124,10 +124,10 @@ foreach $node ( sort @machines) {
($snmpit,'-v','-i',$IPList{$node},$op,$OutletList{$node}));
open(OUT,$cmd." |");
while (<OUT>) {
if (/was outlet(O[nf]*)/) {
if (/was outlet([OnfCycle]*)/) {
print "$node was $1";
}
if (/to outlet(O[nf]*)/) {
if (/to outlet([OnfCycle]*)/) {
print " ... $node now $1";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment