checking permissions of a directory in linux code example Example: show rights inside folder debian $ ls -ld directory