how to grant permission to create directory in linux code example Example: linux create directory with permissions mkdir –m777 DirM