Public bug reported:

Ubuntu 24.04, fully updated

Running arp-scan with sudo, results in the errors below and no OUI
resolving, if the current directory is not owned or not writable by
root.

Also in Debian:
https://groups.google.com/g/linux.debian.bugs.dist/c/Fh4m_uTbUGQ

A bug, a feature, or a PEBKAC?


WARNING: Cannot open MAC/Vendor file ieee-oui.txt: Permission denied
WARNING: Cannot open MAC/Vendor file mac-vendor.txt: Permission denied


Details:

in /home/sander, not owned / writable by root:

sander@zwarte:~$ sudo arp-scan --localnet --interface=wlo1  | head -4
Interface: wlo1, type: EN10MB, MAC: 74:12:b3:9d:cf:47, IPv4: 192.168.1.77
WARNING: Cannot open MAC/Vendor file ieee-oui.txt: Permission denied
WARNING: Cannot open MAC/Vendor file mac-vendor.txt: Permission denied
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.1.1     f8:0d:a9:24:2a:0c       (Unknown)
192.168.1.64    e0:d5:5e:c2:a4:6a       (Unknown)

In /tmp is OK:

sander@zwarte:~$ cd /tmp
sander@zwarte:/tmp$ 
sander@zwarte:/tmp$ sudo arp-scan --localnet --interface=wlo1  | head -4
Interface: wlo1, type: EN10MB, MAC: 74:12:b3:9d:cf:47, IPv4: 192.168.1.77
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.1.1     f8:0d:a9:24:2a:0c       (Unknown)
192.168.1.64    e0:d5:5e:c2:a4:6a       GIGA-BYTE TECHNOLOGY CO.,LTD.


In /root as root is OK:

$ sudo su -
root@zwarte:~# pwd
/root
root@zwarte:~# arp-scan --localnet --interface=wlo1  | head -4
Interface: wlo1, type: EN10MB, MAC: 74:12:b3:9d:cf:47, IPv4: 192.168.1.77
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.1.1     f8:0d:a9:24:2a:0c       (Unknown)
192.168.1.39    44:07:0b:5f:8b:7c       Google, Inc.

As root in /home/sander ... not OK:

root@zwarte:~# cd /home/sander/
root@zwarte:/home/sander# 
root@zwarte:/home/sander# arp-scan --localnet --interface=wlo1  | head -4
WARNING: Cannot open MAC/Vendor file ieee-oui.txt: Permission denied
WARNING: Cannot open MAC/Vendor file mac-vendor.txt: Permission denied
Interface: wlo1, type: EN10MB, MAC: 74:12:b3:9d:cf:47, IPv4: 192.168.1.77
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.1.1     f8:0d:a9:24:2a:0c       (Unknown)
192.168.1.24    22:4c:cc:c0:8f:f0       (Unknown: locally administered)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: arp-scan 1.10.0-2build2
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov  9 09:14:49 2024
InstallationDate: Installed on 2024-09-08 (62 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: arp-scan
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: arp-scan (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087731

Title:
  WARNING: Cannot open MAC/Vendor file ieee-oui.txt: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arp-scan/+bug/2087731/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to