For example, to open access to /sys/bus/usb/devices/1-1/, the following need to be done:chmod  a+x /sys/bus/chmod  a+x /sys/bus/usb/chmod  a+x /sys/bus/usb/devices/# files in devices are symlinkschmod a+x /sys/deviceschmod a+x /sys/devices/pci0000:00/chmod a+x /sys/devices/pci0000:00/0000:00:1a.0chmod a+x /sys/devices/pci0000:00/0000:00:1a.0/usb1chmod a+x /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1How do I do that in one move? I want to do something likechgrp_alt usb -R /sys/bus/usb/devices/*chmod_alt g+rX -R /sys/bus/usb/devices/*Related (simpler) quesiton: set read and write permissions to folder and all its parent directories
How do I open access (+x) to a directory behind symlinks in one move?
permissions;filesystems