Nmap Development mailing list archives
Re: zenmap - No such file or directory: '/usr/share/zenmap/config'
From: David Fifield <david () bamsoftware com>
Date: Tue, 24 Nov 2009 10:11:10 -0700
On Mon, Nov 16, 2009 at 11:34:34PM -0600, drew bodker wrote:
On Mon, 2009-11-16 at 21:44 -0700, David Fifield wrote:On Mon, Nov 16, 2009 at 07:24:53PM -0600, drew bodker wrote:Hello, On fresh installs of Ubuntu 9.10, zenmap launch fails with the following error: Error creating the per-user configuration directory There was an error creating the directory u'/home/username/.zenmap' or one of the files in it. The directory is created by copying the contents of '/usr/share/zenmap/config'. The specific error was "[Errno 2] " Zenmap needs to create this directory to store information such as the list of scan profiles. Check for access to the directory and try again. -------------------------- I see a thread was started here: http://seclists.org/nmap-dev/2009/q4/326 but Davids questions weren't answered. I do not have a distro supplied version installed on these machines. All installs are fresh from svn. Machines that were upgraded via the Update Manager do not exhibit this behavior. The error happens on both 32 and 64 bit machines.Hi, thanks for writing. How are you launching Zenmap? As root with sudo or as a normal user? Does the /home/username/.zenmap directory exist, and if so, what are its permissions?I do not have a ~/.zenmap folder at all. It's looking to /usr/share/zenmap/config and on my system(s) it looks like it should be /usr/local/share/zenmap/config. launching via the command line with or without sudo produces the error. Launching from the menu does as well. Except with the (as root) option where nothing happens at all. No error and no opportunity to enter password.
Did you install using the checkinstall tool? Do you know if checkinstall changes the prefix when it works? What does the "prefix =" line say near the top of Makefile after installing? What is the output line that calls setup.py when you run "make install"? For me it's cd zenmap && /usr/bin/python setup.py install --prefix "/usr" --force David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- zenmap - No such file or directory: '/usr/share/zenmap/config' drew bodker (Nov 16)
- Re: zenmap - No such file or directory: '/usr/share/zenmap/config' David Fifield (Nov 16)
- Message not available
- Re: zenmap - No such file or directory: '/usr/share/zenmap/config' David Fifield (Nov 24)
- Message not available
- Re: zenmap - No such file or directory: '/usr/share/zenmap/config' David Fifield (Nov 16)