Comment 6 for bug 1332444

Revision history for this message
Martin Pitt (pitti) wrote :

> drwxrw-rw-+ 2 root root 140 Aug 5 08:02 by-id
> drwxrw-rw-+ 2 root root 160 Aug 5 08:02 by-path

Your setfacl damaged the permissions of these two directories, so I can't see what /dev/input/by-id/usb-CH_PRODUCTS_CH_FLIGHT_SIM_YOKE_USB-event-joystick point to. But anyway:

crw-r--r--+ 1 root root 13, 0 Aug 5 08:03 js0
crw-rw-rw-+ 1 root root 13, 1 Aug 5 08:02 js1

These permissions look a bit odd, but everyone can read from these joysticks, so it should be fine. Can you please remove your custom rule (which is a gaping security hole), unplug/replug the joystick, and show "ls -l /dev/input/js*"? You should still have read permissons on those, so I don't think your rule and setfacl calls make any difference wrt. the permissions.