how to know which permissions to give to a directory code example Example: show rights inside folder debian $ ls -ld directory