d | rwx | r-x | r-x

d - directory r - read w - write x - execute

First three - user Second three - group Last three - other permissions

chown chgrp chmod