<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ubuntu-snap on IT Quicktasks</title><link>https://quicktasks.ismael.casimpan.com/tags/ubuntu-snap/</link><description>Recent content in ubuntu-snap on IT Quicktasks</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2018–2022, Ismael Casimpan Jr.; All Rights Reserved</copyright><lastBuildDate>Sat, 05 Sep 2020 00:20:25 +0800</lastBuildDate><atom:link href="https://quicktasks.ismael.casimpan.com/tags/ubuntu-snap/index.xml" rel="self" type="application/rss+xml"/><item><title>NMap cannot open a raw socket despite being root</title><link>https://quicktasks.ismael.casimpan.com/post/nmap-cannot-open-socket-despite-being-root/</link><pubDate>Sat, 05 Sep 2020 00:20:25 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/nmap-cannot-open-socket-despite-being-root/</guid><description>
If you are seeing this error:
1~# nmap -Pn www.example.org 2Starting Nmap 7.80 ( https://nmap.org ) at 2020-09-04 20:59 UTC 3Couldn&amp;#39;t open a raw socket. Error: Permission denied (13) Most probably, installation was through Ubuntu's snap as follows:
1~# snap install nmap 2nmap 7.80 from Maximiliano Bertacchini (maxiberta) installed Solution is to run below command
1# snap connect nmap:network-control And re-run nmap command earlier.</description></item></channel></rss>