how to check the permissions associated with a given file in linux code example Example: show rights inside folder debian $ ls -ld directory