Nmap Development mailing list archives

Re: [nmap-svn] r13507 - nmap/docs


From: Fyodor <fyodor () insecure org>
Date: Wed, 3 Jun 2009 19:22:51 -0700

On Wed, Jun 03, 2009 at 08:07:09PM -0600, Patrick Donnelly wrote:

I can't seem to reproduce this. What failure messages are you getting?

Hi Patrick.  Thanks for testing.  I investigated a bit further and I
think the problem is that permissions aren't set correctly during make
install.  When you do a make install, other permissions are explicitly
set such as:

/usr/bin/install -c -c -m 644 nmap-service-probes /usr/local/share/nmap/
/usr/bin/install -c -c -m 644 nmap-protocols /usr/local/share/nmap/
changing mode of /usr/local/bin/zenmap to 775

But the NSE stuff is installed like:

/usr/bin/install -c -d /usr/local/share/nmap/scripts
cp -f scripts/script.db scripts/*.nse /usr/local/share/nmap/scripts
/usr/bin/install -c -d /usr/local/share/nmap/nselib
cp -f nselib/*.lua /usr/local/share/nmap/nselib

I think we just need to explicitly set the permissions either during
the copy/install or by doing a chmod afterward.  It should be an easy
fix--I'll do it.

Cheers,
Fyodor

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: