From 6702f50da61233455f3b3bee2e734d72faf5935e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 7 Jun 1996 14:57:04 +0000 Subject: [PATCH] (dired-chown-program): Try /usr/sbin/chown. --- lisp/dired.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2