Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [nmap-svn] r13507 - nmap/docs
From: Fyodor <fyodor () insecure org>
Date: Wed, 3 Jun 2009 19:39:52 -0700

On Wed, Jun 03, 2009 at 07:22:51PM -0700, Fyodor wrote:

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.

OK, I made the change to Makefile.in, tested it, and checked it in:

Index: Makefile.in
===================================================================
--- Makefile.in (revision 13508)
+++ Makefile.in (working copy)
@@ -249,9 +249,9 @@
 install-nse: $(TARGET)
        $(INSTALL) -c -m 644 nse_main.lua $(DESTDIR)$(nmapdatadir)/
        $(INSTALL) -d $(DESTDIR)$(nmapdatadir)/scripts
-       cp -f $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
+       $(INSTALL) -c -m 644 $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
        $(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib
-       cp -f $(NSE_LIB_LUA_FILES) $(DESTDIR)$(nmapdatadir)/nselib
+       $(INSTALL) -c -m 644 $(NSE_LIB_LUA_FILES) $(DESTDIR)$(nmapdatadir)/nselib
 
 install-ncat: $(NCATDIR)/ncat
        @cd $(NCATDIR) && $(MAKE) install


Cheers,
Fyodor

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault