chmod 0754 /usr/bin
instead of over a command under /usr/bin. Now I can’t run anything under /usr/bin, specially the chmod command to restore permission. Also osmc comes with root disabled, so, the ‘su’ command is algo not posible.
How can I restore permission to /usr/bin folder? or, at least to /usr/bin/chmod to made it executable by osmc user?
I tried to add the line:
chmod 04755 /usr/bin
in the /etc/rc.local editing that file in the SD-Card, but I had no luck, permission is not changed.
Any ideas how can this be accomplished?