Function: tramp-sh-handle-make-directory

tramp-sh-handle-make-directory is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-sh-handle-make-directory DIR &optional PARENTS)

Documentation

Like make-directory for Tramp files.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-sh-handle-make-directory (dir &optional parents)
  "Like `make-directory' for Tramp files."
  (tramp-skeleton-make-directory dir parents
    (tramp-barf-unless-okay
     v (format "%s -m %#o %s"
	       "mkdir" (default-file-modes)
	       (tramp-shell-quote-argument localname))
     "Couldn't make directory %s" dir)))