how to check permission of / in linux code example Example: show rights inside folder debian $ ls -ld directory