From: Richard M. Stallman Date: Fri, 7 Jun 1996 14:57:04 +0000 (+0000) Subject: (dired-chown-program): Try /usr/sbin/chown. X-Git-Tag: emacs-19.34~514 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6702f50da61233455f3b3bee2e734d72faf5935e;p=emacs.git (dired-chown-program): Try /usr/sbin/chown. --- diff --git a/lisp/dired.el b/lisp/dired.el index 76ce9e8d45d..65f8a4e6dee 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -49,7 +49,10 @@ may contain even `F', `b', `i' and `s'. See also the variable ;;;###autoload (defvar dired-chown-program (if (memq system-type '(hpux dgux usg-unix-v irix linux lignux)) - "chown" "/etc/chown") + "chown" + (if (file-exists-p "/usr/sbin/chown") + "/usr/sbin/chown" + "/etc/chown")) "Name of chown command (usually `chown' or `/etc/chown').") (defvar dired-chmod-program