Re: usbconfig lack of device or permission

2018-09-18 Thread Gary Jennejohn
On Tue, 18 Sep 2018 12:14:29 +0530 shreyank amartya wrote: > Okay, so I'm able to use usbconfig once I chown /dev/usb/*. I don't > understand why adding my user to operator group is not enough instead of > chowning everything. > chown is the wrong approach. You need to chmod 660 all the entrie

Re: usbconfig lack of device or permission

2018-09-17 Thread shreyank amartya
Okay, so I'm able to use usbconfig once I chown /dev/usb/*. I don't understand why adding my user to operator group is not enough instead of chowning everything. On Mon, Sep 17, 2018 at 4:51 PM shreyank amartya wrote: > > ^^ this is not root :-) > If I log in as root, usbconfig works. I want to

Re: usbconfig lack of device or permission

2018-09-17 Thread shreyank amartya
> ^^ this is not root :-) If I log in as root, usbconfig works. I want to make it work when i'm logged in as a normal user (amd). > Expected, unless you chown the packet filtering devices. Please elaborate on how I can i do this? On Mon, Sep 17, 2018 at 4:39 PM Hans Petter Selasky wrote: > On 9

Re: usbconfig lack of device or permission

2018-09-17 Thread Aleksander Matveev
On 17/09/18 1:07 PM, shreyank amartya wrote: ls -l /dev/usb output: amd@amd-sham:~ % ls -l /dev/usb total 0 crw--- 1 root operator 0x2c Sep 17 10:01 0.1.0 crw--- 1 root operator 0x34 Sep 17 10:01 0.1.1 crw--- 1 root operator 0x46 Sep 17 15:31 0.2.0 crw--- 1 root operato

Re: usbconfig lack of device or permission

2018-09-17 Thread Hans Petter Selasky
On 9/17/18 12:25 PM, shreyank amartya wrote: amd@amd-sham:~ % whoami amd ^^ this is not root :-) amd@amd-sham:~ % usbdump -i usbus0 -s 255 -f 5 usbdump: Could not open BPF device: Permission denied Expected, unless you chown the packet filtering devices. --HPS _

Re: usbconfig lack of device or permission

2018-09-17 Thread shreyank amartya
amd@amd-sham:~ % whoami amd amd@amd-sham:~ % usbdump -i usbus0 -s 255 -f 5 usbdump: Could not open BPF device: Permission denied On Mon, Sep 17, 2018 at 3:47 PM Hans Petter Selasky wrote: > On 9/17/18 12:07 PM, shreyank amartya wrote: > > ls -l /dev/usb output: > > amd@amd-sham:~ % ls -l /de

Re: usbconfig lack of device or permission

2018-09-17 Thread Hans Petter Selasky
On 9/17/18 12:07 PM, shreyank amartya wrote: ls -l /dev/usb output: amd@amd-sham:~ % ls -l /dev/usb total 0 crw--- 1 root operator 0x2c Sep 17 10:01 0.1.0 crw--- 1 root operator 0x34 Sep 17 10:01 0.1.1 crw--- 1 root operator 0x46 Sep 17 15:31 0.2.0 crw--- 1 root operato

Re: usbconfig lack of device or permission

2018-09-17 Thread shreyank amartya
ls -l /dev/usb output: amd@amd-sham:~ % ls -l /dev/usb total 0 crw--- 1 root operator 0x2c Sep 17 10:01 0.1.0 crw--- 1 root operator 0x34 Sep 17 10:01 0.1.1 crw--- 1 root operator 0x46 Sep 17 15:31 0.2.0 crw--- 1 root operator 0x59 Sep 17 15:31 0.2.1 crw--- 1 root

Re: usbconfig lack of device or permission

2018-09-17 Thread Hans Petter Selasky
On 9/17/18 11:59 AM, shreyank amartya wrote: Hi, I am able to view usb devices with usbconfig when i'm logged in as a root user. But, I'm not able to view any devices when I log in as a user. I have added this user to wheel,operator groups. What am I missing here? Usb devices appear as /dev/uge