Cropi / usbguard-notifier

A tool for detecting usbguard policy and device presence changes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI: no such file /tmp/usbguard-notifier/$USER

Thulium-Drake opened this issue · comments

I have compiled the tool with the following commands (and installed it on my system):

bash autogen.sh
./configure --with-bundled-catch --prefix=/opt/usbguard-notifier --with-usbguard-devel=/opt/usbguard-dev --with-permanent-notifications=/tmp/usbguard-notifier
make

The notifications work just fine, however, when I run usbguard-notifier-cli it mentions the following error:

Error: file /tmp/usbguard-notifier/jeff doesnt exist.

What's up with that? :)

Hello,

The notifier-cli was created at the very beginning of the project. The purpose of this tool was to later be able to change the presence/policy of a device in a more practical way. For instance, if you plug in a new device and you want to allow it, then just press some combo on the keyboard and the last plugged in device will automatically be allowed. Whilst it was not a bad idea, it got stuck at one point.

Right now, it's not really used for anything.