Function: dired-do-chown

dired-do-chown is an autoloaded, interactive and byte-compiled function defined in dired-aux.el.gz.

Signature

(dired-do-chown &optional ARG)

Documentation

Change the owner of the marked (or next ARG) files.

After invoking the command, type M-n (next-history-element) to pull the file attributes of the file at point into the minibuffer.

View in manual

Probably introduced at or before Emacs version 24.3.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;;###autoload
(defun dired-do-chown (&optional arg)
  "Change the owner of the marked (or next ARG) files.
After invoking the command, \
type \\<minibuffer-local-completion-map>\\[next-history-element] \
to pull the file attributes
of the file at point into the minibuffer."
  (interactive "P" dired-mode)
  (if (and (memq system-type '(ms-dos windows-nt))
           (not (file-remote-p default-directory)))
      (error "chown not supported on this system"))
  (dired-do-chxxx "Owner" dired-chown-program 'chown arg))