mkdire file with 777 permission ubuntu code example Example: linux create directory with permissions mkdir –m777 DirM