From 6fed5be5f359b4f242feeee827c10827bddcf6ae Mon Sep 17 00:00:00 2001 From: Raf Czlonka Date: Wed, 25 Mar 2020 20:12:53 +0000 Subject: [PATCH] $BUSNAME is a full device path, not just the device node name --- tools/openbsd/attach | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/openbsd/attach b/tools/openbsd/attach index 1b1f29ddd..16ce31ff8 100755 --- a/tools/openbsd/attach +++ b/tools/openbsd/attach @@ -11,8 +11,8 @@ case $DEVCLASS in echo $BUSNAME > /var/run/${DEVNAME}.bus chown _cups:_saned /dev/${DEVNAME}.* && chmod 660 /dev/${DEVNAME}.* - chown _cups:_saned /dev/$BUSNAME && - chmod 660 /dev/$BUSNAME + chown _cups:_saned $BUSNAME && + chmod 660 $BUSNAME ;; esac ;;