how to give permissions for creating a directory code example Example: linux create directory with permissions mkdir –m777 DirM